[Home] [By Thread] [By Date] [Recent Entries]
On 08/10/2010 21:26, Hermann Stamm-Wilbrandt wrote:
Hi, well actually $s is a document node with a text node child being the string
If you wrapped an element around the string and used a schema aware processor you could schema type the element and then validate. there are some restrictions though, as not all xpath sequences can be represented this way, for example the the sequence ("1 2", "3 4") can not. <xsl:variable name="seqs"><seq>(1,2,3)</seq><seq>(4,5,6)</seq><seq> (7,8,9)</seq></xsl:variable> But as Dimitre just commented if you are going to go that far you could use element markup to also mark up the items in the sequence as well as the subsequence boundaries. David
|

Cart



