xsl-list
[Top] [All Lists]

Re: [xsl] Why is copy-namespaces="no" required?

2009-11-18 07:54:04
On Wed, Nov 18, 2009 at 1:36 PM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>