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

Re: problems with copying duplicate nodes

Subject: Re: problems with copying duplicate nodes
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Wed, 29 Jun 2005 06:09:23 -0700 (PDT)
Re:  problems with copying duplicate nodes
Hi Rahil,
  Please read my thoughts below your sentences .. You
posted an interesting problem for me to find an answer
.. Thanks..

--- Rahil Qamar <qamar_rahil@xxxxxxxxxxx> wrote:

(I am glad I was able to help ..)

> The solution you posted worked even with my Saxon
> 8.1.1 processor using XSLT 2.0.
> 
> Im getting the output just as I wanted but Im
> intrigued about the functionality of the <temp> node
> and how it eliminated the duplicates at a later
> stage.

I used temp as a convenience element, using which I
was able to distinguish element hierarchy properly ..
We could write the stylesheet using without it also ..
But I am not sure at this moment, how we should do
that? I think David answered the question to this some
time back .. Please ask him :)

> Just so I know how to resolve a similar query in
> future could you please explain what you did in the
> <template match="TABLE/TR/TR"> block ?

In this template, I matched a pattern with a portion
of the result tree (which was body of the template) ..
I think the explanation could be as simple as that ;)

Regards,
Mukul

> Thanks again
> Rahil
>  
> 
> 
> --- Mukul Gandhi <mukul_gandhi@xxxxxxxxx> wrote:
> 
> > Hi David,
> >   Please read my response below your comments ..
> > 
> > --- David Carlisle <davidc@xxxxxxxxx> wrote:
> > 
> > > 
> > >   The stylesheet uses node-set function, and
> > > Muenchian
> > >   Grouping (over a RTF) .. 
> > > 
> > > It _needs_ to use a node-set function, but as
> > posted
> > > you did not use it
> > > (you need common:node-set($rtf))
> > 
> > Sorry if I am wrong. I tested the stylesheet, and
> it
> > ran successfully with Saxon.
> > 
> > >   The stylesheet is tested with Saxon 8.4.
> > > 
> > > It's best not to test xslt 1 stylesheets with an
> > > xslt2 processor.
> > > As (as in this case) many things that generate
> an
> > > error in xslt1 will
> > > not be reported.
> > 
> > You are always right :)
> > 
> > Regards,
> > Mukul
> > 
> > > David
> > > 
> > > 
> > > 
> > >
> >
>
________________________________________________________________________
> > > This e-mail has been scanned for all viruses by
> > > Star. The
> > > service is powered by MessageLabs. For more
> > > information on a proactive
> > > anti-virus service working around the clock,
> > around
> > > the globe, visit:
> > > http://www.star.net.uk
> > >
> >
>
________________________________________________________________________
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> > 
> 
> 
> 
> 		
>
___________________________________________________________
> 
> How much free photo storage do you get? Store your
> holiday 
> snaps for FREE with Yahoo! Photos
> http://uk.photos.yahoo.com
> 
> 



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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.