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

RE: XPath question

Subject: RE: XPath question
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Thu, 11 May 2000 13:31:44 +0200
RE: XPath question
Your expression selects first the current node (div type='introduction),
then any of its children (which are head, pb, div type='partie'), then any
pb child of one of these children. Only the second pb in your example is a
child of a child of div type='introduction'.  

Linda

> -----Original Message-----
> From: Sydney [mailto:moisi_fr@xxxxxxxx]
> Sent: Thursday, May 11, 2000 1:03 PM
> To: XSL-List@xxxxxxxxxxxxxxxx
> Subject: XPath question
> 
> 
> Hi
> 
>     <div type="introduction">
>     <head>Introduction</head>
>     <pb/>
>     
>     <div type="partie">
>     <p>Test
>     </p>
>     <pb/>
>     </div>
>     
>     </div>
> 
> <xsl:template div[@type='introduction']">
> <xsl:for-each select="./*/pb">
> Find pb
> </xsl:for-each>
> </xsl:template>
> 
> Why xt find only one pb.
> 
> Thanks
> Sydney
> 
> ___________________________________________________________
> Do You Yahoo!?
> Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.