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

RE: Re: Not traverssing up from the for loop ??

Subject: RE: Re: Not traverssing up from the for loop ??
From: Dipesh Khakhkhar <dkhakhkh@xxxxxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 09:55:50 -0400
RE:  Re:  Not traverssing up from the for loop ??
Hi Jarno,

Thanks !! I got it done now. I was trying to write for the child  and parent 
node within xsl:text. So is it like we can write any text value of child or 
parent node within xsl:text ?

Thanks a lot.

Regards
Dipesh !!



>Date: Wed, 25 Jun 2003 08:50:18 +0300
>From: Jarno.Elovirta@xxxxxxxxx
>Subject: RE:  Not traverssing up from the for loop ??
>
>Hi,
>
>> <xsl:text>
>> ```````````````````````<!-- HERE I AM NOT GETTING VALUE -->
>> `<xsl:value-of
>> select="generate-id(..//..//..)"/>`<xsl:value-of
>> select="generate-id(..//)"/></xsl:text></xsl:for-each>
>
>xsl:text may only have text node children, see 
<http://www.w3.org/TR/xslt#section-Creating-Text>. Use "generate-id(.)" to 
generate an id for the current node and "generate-id(..)" for the parent of 
the current node.
>
>> I AM TYRING TO GET GENERATED ID OF CLASS AND ITS PARENT TAG
>> i.e. BASIC tag.
>
>You were trying to generate the ids in a for-each instruction processing 
OBJECTs. Move the id generation out of the for-each, so that your current 
context is CLASS element.
>
>> But i m not getting. Can somebody please tell me where i m
>> getting wrong. I
>> tried using "..//..//.." and "..//.." and even "..".
>
>Guessing is usually a strategy that will not get you there.
>
>Cheers,
>
>Jarno
>
> 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.