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

RE: How to process attributes of IDREFS

Subject: RE: How to process attributes of IDREFS
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 19 Aug 2003 16:31:05 +0100
process attributes
The id() function is designed to take a space-separated list of ID
values, so you should be able to pass the IDREFS attribute straight into
it.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Dan Vint
> Sent: 19 August 2003 15:11
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  How to process attributes of IDREFS
> 
> 
> 
> 
> I've checked the FAQ and didn't find anything on this 
> question. I have an 
> element with an attribute of type IDREFS, so of coarse it can 
> have one 
> value or it can have several.
> 
> What is the best way to process this attribute to be able to 
> find all the 
> elements linked to it? I would have thought the id() function 
> would have 
> been able to force the processing but it doesn't seem to. Do 
> I have to 
> revert to string/token processing to get at the individual 
> IDs? When there 
> is a single value id() works fine, but when there is a list 
> there is a problem.
> 
> thanks.
> ..dan
> 
>       
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

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-2013 All Rights Reserved.