RE: [xsl] XPath about pi and comment

Subject: RE: [xsl] XPath about pi and comment
From: "Shinichiro HAMADA" <shinichiro.hamada@xxxxxxxxxxxxx>
Date: Thu, 11 Jan 2001 16:54:53 +0900
> Hi Shinichiro,
> > <xsl:value-of select="*[processing-instruction()]"/>
> > <xsl:value-of select="*[comment()]"/>
>
> In case you want to retrieve all processing instructions and comments
> the above will not work -- what you've specified is actually all
> elements children of the current node that have at least one
> processing-instruction child or, respectively, that have at least one
> comment child.

I see. Thanks a lot, Dimitre!

> Use:
>
> //processing-instruction()
>
> and
>
> //comment()

I will try these xpath right away. And thank you very much for introducing
xpath visualizer!

--
Shinichiro HAMADA


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


Current Thread