View Single Post
  #3 (permalink)  
Old January 19th, 2005, 02:00 PM
EstherMStrom EstherMStrom is offline
Authorized User
Join Date: Sep 2004
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks for the shortcut. I rewrote the variable, but I'm still getting nothing, even when I hard-code the value the variable returns into the id() function:

<xsl:value-of select="id('c3')/PETOCEntry/Title" />

Is this the correct syntax for pulling in Feelin' Fine from this code (yes, the id param is really an ID):

<PEDiv id="c3">
<PETOCEntry id="c3a">
<Title CrossAlign="No">Feelin' Fine!</Title>

This, however, does work, as long as I hard-code the values, which I can't do:

<xsl:value-of select="//PEDiv[@id = 'c3']/PETOCEntry/Title" />
Reply With Quote