gianluca.falasca@xxxxxxxxxxxxx writes:
> Do I need to specify the DTD for the XML document in input to the XSLT
> processor?
no, you dont have to
> Does the XSLT processor validate the correctness of the inbound XML
> document?
the XSLT processor does not read the XML, the XML parser behind the
scenes does.
the main gains from DTD use (apart from validation, obviously) are
- specifying entities and default attribute values
- setting attribute types as ID so that the id() function works
otherwise DTDs are irrelevant in the XSLT context.
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|