xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Concatenating multiple input documents into a single node-set


Subject: [xsl] Concatenating multiple input documents into a single node-set
From: Chris von See <cvonsee@xxxxxxxxxxx>
Date: Tue, 11 May 2004 06:53:38 -0700

Hi - 

I want to concatenate all of the nodes in a RELAX-NG schema (which is 
comprised of multiple included files) into a single node-set.  I've tried 
something like this:

<xsl:variable name="collection">
   <xsl:for-each select="//rng:include">
      <xsl:copy-of select="document(@href)" />
   </xsl:for-each>
</xsl:variable>

but I only get one node in the resulting variable.  Is there a better way to 
do this?


Thanks
Chris


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor