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: Does any XSL processor include original process instruction elem.in XSL output?


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

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