[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT and Text Processing Languages

Subject: Re: XSLT and Text Processing Languages
From: "Rick Geimer" <Rick.Geimer@xxxxxxx>
Date: Thu, 07 Sep 2000 09:48:58 -0700
xsl parse twice

Paul Terray wrote:
> XSL-T advantages :
> - Much more powerful for tree querying (DOM oriented): you cannot ask for a
> node that is not in your ancestors with OmniMark, you cannot parse twice
> the same node... Just tocs are way simpler with XSL-T

Actually, OmniMark referents were made for just this sort of thing (i.e.
outputting data that you haven't encountered yet), and you can parse
twice if you want by using the do xml-parse command.

> - Very natural way of outputing XML and HTML (in OmniMark, you output the
> string of the tag, where in XSLT, you are sure the XML you output is
> well-formed)

You can always reparse the output to ensure it is well-formed, but I
agree, the template approach of XSLT is easier here.

> - XML-native : the DTD you are using with OmniMark can be SGML-tainted,
> there would be no reaction at all, whereas XSL-T is very strict with that

OmniMark 6 does away with DTDs entirely. In fact, you now have to pay if
you want DTD support. 

> Conclusion :
> - For XML->XML or XML->HTML conversion, which is more tree transformation,
> prefer XSLT

For me, just XML -> HTML, until XSLT supports XML 1.0 fully (i.e. entity
and notation support in the data model) and matures enough to handle
large documents gracefully. 

> - For any other format -> XML, Omnimark is mandatory

Actually, I prefer Java for Database -> XML conversions, though the
OmniMark folks would probably roll over and die if they heard me say
that :-).

Rick Geim
National Semiconductor
rick.geimer@xxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.