|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 3 XSLT2 quickies
Since you say it's an element declared as IDREFS rather than an an element you must be talking about schema typing and xs:IDREFS. If you are using a non-schema aware xslt engine (such as the free saxon) then the schema will not be read so the IDREFS declaratin is not seen and the element content is treated as untyped, just as any other content If you are using a schema-aware product (such as saxon-sa) then the input tree will have this as a typed node and you can access the terms as a sequence as you describe. (In the untyped case you can always use the tokenize() function to access the individual items as well. > because text() doesn't atomize, but I am open for any objections. yes it's the element node that has the type annotation so if you select the text node child then it's just text. I leave your other qns to someone who has a schema aware product to test their answers on:-) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
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
|






