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: Can I access elements in the output tree?


> The xml-processing instruction (<?xml version='1.0'?> ...

<?xml version='1.0'?> is an XML declaration, or a text declaration, it is
not a processing instruction, despite the fact that it uses similar syntax.

> I tried to insert a <xsl:processing-instruction name='xml'/> 
> into the final
> output tree just before copying the node-set. This however is 
> not allowed.

Correct: because processing instructions named "xml" are not allowed, to
prevent confusion with XML declarations and text declarations.

Mike Kay

 




 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]