This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: dealing with doctype dtd's
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] dealing with doctype dtd's
- From: "Klaus Weitzer" <k dot weitzer at web dot de>
- Date: Wed, 31 Jan 2001 10:34:19 +0100
- Organization: http://freemail.web.de/
- Reply-To: xsl-list at lists dot mulberrytech dot com
> How can I access the doctype in xslt?
In JavaScript (MSXML) you can access the doctype node and parse it's value.
MSXML allows you to read all the entities and so on IF the dtd is embeded in
the document itself. IF it's bound to it with a SYSTEM or PUBLIC uri you
still have the info that a dtd is used but you can't access the contents.
IF no dtd is used, then there is no DOCTYPE node.
hope it helps
Klaus Weitzer
______________________________________________________________________________
Die Fachpresse ist sich einig: WEB.DE 17mal Testsieger! Kostenlos E-Mail,
Fax, SMS, Verschlüsselung, POP3, WAP....testen Sie uns! http://freemail.web.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list