Hi,
On 11/17/05, Ragulf Pickaxe <ragulf(_dot_)pickaxe(_at_)gmail(_dot_)com> wrote:
What do you mean by it being a dynamic XML input, and that you cannot
use keys, then?
Oh, I have several run-time document($some-var) of various schemas I
don't know about, so it's a bit tricky. :)
select="$variable/member[(_at_)ref-id!=preceding-sibling::member/@ref-id]"
This will catch the first ref-id of each value.
Thanks. Gee, I've stared myself blind on that one. Funny how one
over-complicates things without seeing the obvious answer.
Alex
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--