You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/14 18:26:48 UTC

DO NOT REPLY [Bug 6470] - parent:: axis doesn't work in template example

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6470>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6470

parent:: axis doesn't work in template example

David_N_Bertoni@lotus.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From David_N_Bertoni@lotus.com  2002-02-14 17:26 -------
<xsl:value-of select="../colData[@colId='LOCATION']"/>

and

<xsl:value-of select="parent::colData[@colId='LOCATION']"/>

are not equivalent location paths.  Perhaps you meant:

<xsl:value-of select="parent::*/colData[@colId='LOCATION']"/>

instead?

I'm having trouble understanding what you're trying to accomplish by matching 
colData elements, then selecting colData siblings.  Wouldn't it be easier to 
match row elements, and work from there?  You might want to post a question on 
the Mulberry XSL list to see if someone can suggest a better solution.