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

Re: xsl grabbing specific data

Subject: Re: xsl grabbing specific data
From: "cking" <cking@xxxxxxxxxx>
Date: Thu, 9 Sep 2004 17:18:35 +0200
xml grabbing dat
> Only question I have now is say
> that an xml has two identical trees, Like
> 
> <xml>
>   <name value="dan">
>   <name value="dan">
> </xml>
> 
> Is there a way to stop the duplicaes during the
> transform.

Do you mean duplicates in the original input, or
in the output, maybe generated from things like

  <file-acl name="C:\boot.ini">...</file-acl>
  <file-acl name="D:\boot.ini">...</file-acl>

I think that would require post-processing, which you could
do by storing everything in a global variable and then use 
exsl:node-set to filter out duplicates.

Duplicates in the original input you could probably filter out
with Muenchian Grouping.

Anton Triest

> I ran your transform and low and behold
> boot.ini came to my results like above. Once again
> thanks for the help.
> 
> Dan Sherman

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.