[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Filtering new tags using XSL

Subject: Re: Filtering new tags using XSL
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 13 Sep 2007 15:15:27 +0200
Re:  Filtering new tags using XSL
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.