RE: [xsl] generate full xpath name to an attribute?

Subject: RE: [xsl] generate full xpath name to an attribute?
From: David.Pawson@xxxxxxxxxxx
Date: Tue, 1 Apr 2003 08:37:30 +0100

HTH DaveP.

none of these seem to work very well. they tend to generate stuff 
like:  input/Nodes@Node/Point/3.14159265358979

using the first two:
                         <xsl:if test="../@*/.">
                         <xsl:if test="not(../@*/.)">

does this: input/Nodes@Node/Point/3.14159265358979

the @ is in the wrong place and the value (pi) instead of the name is 
coming out.

what i want is input/Nodes/Node/Point/x (i will solve the subscript problem 
later with number or something i hope).

seems like there should be an easier way to skin this cat :(.


ray tayek actively seeking mentoring or telecommuting work
vice chair orange county java users group
hate spam?

 XSL-List info and archive:


NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227


 XSL-List info and archive:

Current Thread