Re: Does any XSL processor include original process instruction elem. in XSL output?

Subject: Re: Does any XSL processor include original process instruction elem. in XSL output?
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 2 Dec 2000 00:38:56 -0700 (MST)
Tien Liu wrote:
> After XSL processing from Apache XSL processor, the output is
> the following:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <wml>
> .....
> 
> The process instruction element <!DOCTYPE wml ...>

<!DOCTYPE wml ...> is neither a "processing instruction" nor an "element".
It is a "document type declaration".

The xsl:output instruction provides a way to specify the document type
declaration. See section 16 of the XSLT 1.0 Recommendation.
http://www.w3.org/TR/xslt#output

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


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


Current Thread