Subject: RE: [xsl] Not traverssing up from the for loop ?? From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 25 Jun 2003 08:50:18 +0300 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Not traverssing up from the f, Dipesh Khakhkhar | Thread | RE: Re: [xsl] Not traverssing up f, Dipesh Khakhkhar |
RE: [xsl] Re: Maintaining Heirarchy, Jarno . Elovirta | Date | RE: [xsl] Different Colors for Alte, Zink, Juergen |
Month |