This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: DTD for input XML to XSLT
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] DTD for input XML to XSLT
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Wed, 11 Jul 2001 21:10:23 +0100
- References: <OF299DCDBB.597C4B67-ONC1256A86.00668F3E@accenture.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
gianluca.falasca@accenture.com 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