[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] 3 XSLT2 quickies
Subject: Re: [xsl] 3 XSLT2 quickies From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 16 Mar 2006 21:22:56 GMT |
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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] 3 XSLT2 quickies, Soren Kuula | Thread | Re: [xsl] 3 XSLT2 quickies, Soren Kuula |
[xsl] 3 XSLT2 quickies, Soren Kuula | Date | Re: [xsl] Conditional test is faili, Jon Gorman |
Month |