RE: [xsl] problem with id() function

Subject: RE: [xsl] problem with id() function
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
Date: Tue, 31 May 2005 00:48:32 -0700 (PDT)
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@xxxxxxxxxxxx> 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@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 
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread