RE: [xsl] id() pattern

Subject: RE: [xsl] id() pattern
From: "Bryan Archer" <barcher@xxxxxx>
Date: Fri, 28 Mar 2003 15:59:52 -0000
The syntax looks fine! It would be helpful if you included some example xml? (with DTD).

Bryan

-----Original Message-----
From: Kevin.Gutch@xxxxxxxxxxx [mailto:Kevin.Gutch@xxxxxxxxxxx]
Sent: 28 March 2003 15:37
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] id() pattern



I can get the following pattern to match fine.

id('test')


However, if I then try to do either of the following I get nothing. Am I
doing something incorrect?

<xsl:attribute name="path"><xsl:value-of select="id('test')/xx"/></
xsl:attribute>

<xsl:attribute name="path"><xsl:value-of select="id('test')/xx/@yyy"/></
xsl:attribute>


Any help is greatly appreciated.

Thanks





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Visit our website at http://www.rm.com

This message is confidential.  You should not copy it
or disclose its contents to anyone.  You may use and apply the information
only for the intended purpose.  Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message.  Any views or opinions presented are only those of the author and
not those of RM.  If this email has come to you in error please delete it
and any attachments.  Please note that RM may intercept incoming and
outgoing e-mail communications.

This email has been scanned for viruses by Trend ScanMail.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread