Subject: RE: [xsl] generate full xpath name to an attribute? From: David.Pawson@xxxxxxxxxxx Date: Tue, 1 Apr 2003 08:37:30 +0100 |
Try http://www.dpawson.co.uk/xsl/sect2/N6077.html#d5945e18 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:text>@</xsl:text> </xsl:if> <xsl:if test="not(../@*/.)"> <xsl:text>/</xsl:text> </xsl:if> 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 :(. thanks --- ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ hate spam? http://samspade.org/ssw/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list - 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 system. 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 Website: http://www.rnib.org.uk XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Thread | Re: [xsl] generate full xpath name , David Carlisle | |
[xsl] What the processing Instructi, Sanghamitra Das | Date | RE: [xsl] xsl:element namespace iss, Michael Kay |
Month |