Mike,
Thanks for your suggestion. While creating
Document, I am associating dtd to my DOcument. But in
runtime, I am not sure why id() is not getting
recognized.
Please have any suggestion.
regards,
Ranjan
--- Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
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(_at_)yahoo(_dot_)com]
Sent: 31 May 2005 08:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--