[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] problem with id() function


Subject: RE: [xsl] problem with id() function
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 31 May 2005 08:40:49 +0100

Probably (I'm guessing) because your source document does not have a DTD and
therefore there are no attributes of type ID.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Ranjan K. Baisak [mailto:ranjanbaisak@xxxxxxxxx] 
> Sent: 31 May 2005 08:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] problem with id() function
> 
> Hello,
>      Can anybody please suggest me why id() function
> is not working.
> 
> <xsl:for-each select="id(connection/@pinref)">
> 
>                      <xsl:value-of
> select="../@name"/>:
> 
> <xsl:value-of select="@name"/>
> 
> </xsl:for-each>
> 
> Note: connection/@pinref returns set of node set.
> 
> regards,
> Ranjan
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


Current Thread