Re: [xsl] Filtering new tags using XSL

Subject: Re: [xsl] Filtering new tags using XSL
From: Buddhi Dananjaya <buddhi@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Sep 2007 08:51:51 +0530
Hi All,

I think you can remember my query, about filtering new tags using XSL... :-)

I am really sorry, I forgot to mention one point in my last mail. All <data> blocks has *unique* 'name' as attribute on <data> element.

new <data> blocks customer will add here and there on the xml doc but those are with new 'name' attributes. (<value> and <comment> blocks will also different most of the time, can't exactly say that they are unique)

I think now you can address my question.

(Please find my earlier question below to get clear understanding what I want to do)

Thank you all...

- Buddhi from Sri Lanka - 8-)
On 9/13/07, Buddhi Dananjaya <buddhi@xxxxxxxxxxxxxxxxxxx> wrote:
I have following xml file ( Reduced for clearness - this has more than

   <data name="LBL_MM">
   <data name="LBL_INCH">
   <data name="DE">
       <value>Drawing Editor</value>
   <data name="TO">
       <value>Tray Object</value>

My customer may add new <data></data> blocks into this file, not always
at the bottom (here and there) can anyone suggest a XSL format ( prefer
sample code) to filter out  newly added blocks..I need to get a new xml
file which will contain new <data> blocks after transformation.

- Thanks in advance :-)

- Buddhi from Sri Lanka -

Current Thread