This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: DTD for input XML to XSLT


> Do I need to specify the DTD for the XML document in input to the XSLT
> processor?
> Does the XSLT processor  validate the correctness of the inbound XML
> document?

An XSLT processor accepts as input a tree, which will generally be produced
as the output of an XML parser. There is no requirement that the tree
represents a valid document, only that it is well-formed. There is therefore
no need for a DTD. Whether validation takes place depends on the parser you
are using and on the way it is configured.

Mike Kay
Software AG


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]