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

Re: Re: Recursive calls to a named template

Subject: Re: Re: Recursive calls to a named template
From: Kevin Jones <kjones@xxxxxxxxxxx>
Date: Thu, 20 Nov 2003 20:20:13 +0000
xsl named templates recursion
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

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.