Section numbering using xmerl:export

Ulf Wiger etxuwig@REDACTED
Fri Aug 30 11:18:35 CEST 2002

Yes, given the choice, one would probably use Erlang directly
instead of XSLT. It would still be nice to be able to use an
existing XSLT framework, if someone else has already done the
hard work, but there are fortunately tools to do that already,
available to the Erlang programmer. I don't know how well they
fit with xmerl, though. Perhaps someone else knows?

/Uffe (who has about a thousand things he would rather do than
add XSLT support to XMErl)

On Fri, 30 Aug 2002, Mikael Karlsson wrote:

>Thanks for the replies Ulf,
>I think I get your point here:
>Why walk over the bridge to get water (XSLT) when you have
>Erlang ? :-) At first I thought XSLT was something really good,
>but reading things like:
>"XML Matters: Transcending the limits of DOM, SAX, and XSLT ",
>gives me an impression that it could be better using a good
>functional programming language instead.
>> You can of course do this by hand without too much erlang
>> programming. That was ultimately the reason why I quit trying to
>> implement XSL in xmerl (the fact that it is bloody difficult to
>> implement XSL efficiently was a contributing factor, of course.)
>> A good first step would perhaps be to export the functionality in
>> xmerl_xpath that prepares the XML document for the XPATH search,
>> and perhaps some of the search functions as well. Then you could
>> write your own XSL-like Erlang module with "relative ease".
>> /Uffe

Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks

More information about the erlang-questions mailing list