> You can parse an xml file with an xsl file
No, you parse an XML file with an XML parser, such as Xerces or xp
> and can generate
> an html document using Xerces or XT.
Xerces is an XML parser, xt is an XSLT processor. XML parsers cannot
generate HTML; XSLT processors can.
> Then I wonder why these
> people introduced Xalan. Please someone clarify me what are
> the advantages having XSLT and Xalan?
XSLT processors (like xt and Xalan) transform an input XML structure to
a result XML structure, which they can then output as XML or HTML. This
is a much bigger job than simply parsing the XML.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|