[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XPath about pi and comment

Subject: RE: XPath about pi and comment
From: "Shinichiro HAMADA" <shinichiro.hamada@xxxxxxxxxxxxx>
Date: Thu, 11 Jan 2001 16:54:53 +0900
xpath pi
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.