Subject: Re: [xsl] Keeping track of processed nodes, to avoid redundant output. From: George Cristian Bina <george@xxxxxxxxxxxxx> Date: Tue, 11 Sep 2007 13:48:35 +0300 |
Regards, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
Hello,
This is a simplified description of what I am trying to do, I have an xml document like this:
<main> <someElement> <anElement name="John" /> </someElement> <someElement> <anElement name="Jane" /> </someElement> <someElement> <anElement name="John" /> </someElement> <someElement> <anElement name="Jane" /> </someElement> </main>
and I like to retrieve each 'name' attribute from 'anElement', but I only want to process the name once. So if the 'John' attribute is repeated I want to somehow keep track that I have already processed it, hence there is no need to process it again.
So for the given example I like to output something like:
<out> <name>John</name> <name>Jane</name> </out>
Thanks, John
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Keeping track of processe, Andrew Welch | Thread | [xsl] TabLayout in XSL, Karanam.Chowdary |
Re: [xsl] Keeping track of processe, Andrew Welch | Date | [xsl] TabLayout in XSL, Karanam.Chowdary |
Month |