|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








