Subject: Re: [xsl] Filtering new tags using XSL From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 13 Sep 2007 10:36:40 -0400 |
Cheers, Wendell
Buddhi Dananjaya wrote:
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.
If you look at the data that he (your customer) provides, in what way can you, visually, distinguish new from old? And once you know it visually, how do you know it determinantly and evidently? In general, if you as a human cannot see the new from the old, then the computer won't be able to do so either.
To resolve this: either use a record of processed items or use a different data structure (like Mukul suggested: add a timestamp (but that is awkward when you are stuck with XSLT 1.0, I hope you can use 2.0 for that)).
Cheers, -- Abel Braaksma
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Filtering new tags using , Abel Braaksma | Thread | Re: [xsl] Filtering new tags using , Senthil Nathan |
Re: [xsl] Filtering new tags using , Abel Braaksma | Date | [xsl] RE: Smart Quote Encoding, Roger L. Cauvin |
Month |