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

RE: Accessing nodes

Subject: RE: Accessing nodes
From: Xiaocun Xu <XXu@xxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Nov 2000 13:57:56 -0500
accessing nodes
If you are only interested in the first <ROW>, it is easy, refer it with:
../../ROW[1]/FIRST.
If you want the preceding FIRST, you should use preceding-sibling.

Xiaocun Xu
xxu@xxxxxxxxxxxxxxxxxx



> -----Original Message-----
> From: Mateja Mikek [mailto:mateja.mikek@xxxxxxxxxxxxxx]
> Sent: Thursday, November 16, 2000 1:13 PM
> To: XSL-List@xxxxxxxxxxxxxxxx
> Subject: Accessing nodes
> 
> 
> Hello, all.
> 
> I'm a beginner in XSL and I need help (how unusual).
> Here is a part of the XML file:
> <ROWSET>
>   <ROW>
>      <FIRST>a1</FIRST>
>      <SECOND>a2</SECOND>
>      <THIRD>a3</THIRD>
>   </ROW>
>   <ROW>
>      <FIRST>a1</FIRST>
>      <SECOND>b2</SECOND>
>      <THIRD>b3</THIRD>
>   </ROW>
> ...
> </ROWSET>
> 
> how can I address the <FIRST>a1</FIRST> element of the first 
> <ROW> while processing the <FIRST>a1</FIRST> element of the 
> SECOND <ROW>
> (thus ROWSET/ROW/child:node[1] is the context node, if I 
> understand things OK)?
> 
> I will be most gratefull for any help.
> 
> Mateja
> 
> ____________________________________________________________________
> 孜回叉\次c女S成為 at http://mail.kiss.uni-lj.si/
> 
> 
>  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.