[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Recursive calls to a named template
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|