Subject: Re: Re: [xsl] Recursive calls to a named template From: Kevin Jones <kjones@xxxxxxxxxxx> Date: Thu, 20 Nov 2003 20:20:13 +0000 |
On Thursday 20 November 2003 19:13, cknell@xxxxxxxxxx wrote: > > I tried your solution, which sounds like a better tack than > the one I proposed, but no <signature> elements were copied > from related <group> elements. > Maybe I misunderstood what Ram was trying to achieve. In the output below the signature elements have been replaced by following the identifier mapping in the XML. In this example they all end up with the signature from the first group. The output shown is consistent with my interpretation of the problem he was trying to solve. Was something different required? Kev. > > and here is the output: > ================= > <?xml version = '1.0' encoding = 'UTF-8'?> > <formatted-xml> > <group> > <identifier>a</identifier> > <signature>signature > <identifier>DNSQuery1</identifier> > <in>in > <long>long</long> > <identifier>ant</identifier> > </in> > </signature> > </group> > > <group> > <identifier>b</identifier> > <identifier>a</identifier> > <signature>signature > <identifier>DNSQuery1</identifier> > <in>in > <long>long</long> > <identifier>ant</identifier> > </in> > </signature> > </group> > > <group> > <identifier>c</identifier> > <identifier>b</identifier> > <signature>signature > <identifier>DNSQuery1</identifier> > <in>in > <long>long</long> > <identifier>ant</identifier> > </in> > </signature> > </group> > </formatted-xml> > > What did I miss in your explanation? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Re: [xsl] Recursive calls to a , cknell | Thread | RE: Re: Re: [xsl] Recursive calls t, cknell |
[xsl] XSL Transformation in secure , Sridhar Sourirajan | Date | RE: Re: Re: [xsl] Recursive calls t, cknell |
Month |