[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Can I access elements in the output tree?


Subject: RE: Can I access elements in the output tree?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 3 Nov 2000 14:41:11 -0400 (EST)

> 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



Current Thread
Keywords
xml