Altova Mailing List Archives


First experiences with XSL

From: David Megginson <ak117@-------.--------.-->
To: <xml-dev@--.--.-->
Date: 1/30/1998 3:23:00 PM
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@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.