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

Re: Recursion

Subject: Re: Recursion
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 28 May 2012 12:19:25 +0100
Re:  Recursion
On 28/05/2012 11:58, Vasu Chakkera wrote:
                         <xsl:with-param name="include-tree"

It's inconvenient/inefficient to use a string here and repeatedly concat to it and test for substrings with contains()

You want a sequence of file names so code it as a sequence of strings.

<xsl:with-param name="include-tree" as ="xs:string*" > select="$include-tree, $doc-name"/>

then you can use = rather than contains() to test if a string is in the sequence.

(not directly related to your recursion question, but treating XSD as XML input is usually considered dangerous. saxon and some other XSD processors can give you an xml view of the schema component model with all the XSD cross referencing and file splitting issues resolved by teh schema processor)


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

Current Thread


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.
First Name
Last Name
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.