Subject: Re: Why is copy-namespaces="no" required?
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Wed, 18 Nov 2009 13:53:39 +0100
|
> On Wed, Nov 18, 2009 at 1:36 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
Thanks for the namespace explanation.
>
> > Is there a simple way of passing in a list of N pathnames in a param
>
> <xsl:param name="doclist"/>
> <xsl:variable name="docs" select="
> for $d in tokenize($doclist,'\s+') return doc($d)"/>
>
> then <xsl:copy-of select="$docs/xs:schema/xs:complexType "
> would copy all the complex type elements from all the documents.
>
But this doesn't perform the filtering to ensure that complexType name="foo"
is copied only once when in more than one input file, does it?
-W
>
> David
|