Subject: Re: [xsl] would like to simplify my XSLT From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 30 Jan 2007 14:15:20 GMT |
> if 'rel-id' were written 'id' in the source tree (and you change the > match accordingly) this would work. no even if the attribute had the same name, it would be a different node with different identity. > Unfortunately, the operator > 'intersect' is defined to compare nodes only, and cannot compare > sequences of strings... :S = allows you do do value-based intersection (of strings for example) if $s1 and $s2 are sequences of strings then $s1[.=$s2] is the sequence of strings that are common to $s1 and $s2. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] would like to simplify my, Abel Braaksma | Thread | Re: [xsl] would like to simplify my, Abel Braaksma |
Re: [xsl] would like to simplify my, Abel Braaksma | Date | RE: [xsl] Wrap changing element seq, Michael Kay |
Month |