RE: [xsl] Transforming an XML document where the content isn't in a special tag

Subject: RE: [xsl] Transforming an XML document where the content isn't in a special tag
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 17 Aug 2005 12:40:48 +0100
As I mentioned in my post, it may do the transformation that the OP asked
for, but what he probably wanted was a stylesheet that would solve a class
of similar problems, and they don't all have exactly two nodes.

Michael Kay
http://www.saxonica.com/


> -----Original Message-----
> From: Mukul Gandhi [mailto:gandhi.mukul@xxxxxxxxx] 
> Sent: 17 August 2005 12:37
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Transforming an XML document where the 
> content isn't in a special tag
> 
> Hi David,
>   I think this solved the problem! Do you find something wrong with my
> stylesheet?
> 
> Regards,
> Mukul
> 
> On 8/17/05, David Carlisle <davidc@xxxxxxxxx> wrote:
> > 
> > 
> >     <xsl:with-param name="nodelist"
> > select="following-sibling::node()[1] | following-sibling::node()[2]"
> > />
> > 
> > why would you only want to collect two nodes?
> > 
> > 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
> > 
> ______________________________________________________________
> __________

Current Thread