[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: problem with id() function

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

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.