First experiences with XSL
David Megginson
ak117 at freenet.carleton.ca
Fri Jan 30 15:22:43 GMT 1998
Michael Kay writes:
> I have yet to spot any disadvantages. I haven't looked at
> performance or footprint, but I can't see any intrinsic reason why
> XSL should be smaller or faster. (Currently some of the methods
> like isLastOfType() are very inefficient due to the limited
> navigation capabilities in MSXML. I could speed it up if I built my
> own tree!).
If you're working in Java, instead of building your own tree you might
want to take a look at Don Park's SAXDOM:
http://www.quake.net/~donpark/saxdom.html
Neither the DOM nor SAX is finalised yet (though SAX is closer), and I
haven't had a chance to test Don's package yet, but there are still a
couple advantages to avoiding a proprietary tree structure:
1) You will have to make fewer changes later on.
2) Since Don's package uses SAX, your code will work with any
supported parser rather than just Microsoft's (currently, there are
SAX drivers for NXP, Lark, AElfred, XP, _and_ MSXML); eventually,
it will work for any parser with DOM support as well.
All the best,
David
--
David Megginson ak117 at freenet.carleton.ca
Microstar Software Ltd. dmeggins at microstar.com
http://home.sprynet.com/sprynet/dmeggins/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list