This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XPath about pi and comment
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XPath about pi and comment
- From: "Shinichiro HAMADA" <shinichiro dot hamada at toshiba dot co dot jp>
- Date: Thu, 11 Jan 2001 16:54:53 +0900
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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