[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: problem with id() function
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|