Subject: Re: [xsl] collecting a fileset with XSLT 2.0 From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sun, 05 Feb 2012 15:56:26 -0500 |
Is there a way to collect a set of files off the file system in XSLT 2.0, in the same way that Ant lets you define a set of files with <fileset> like this:
<fileset dir="${src.dir}" id="all.docs"> <include name="**/*.xml"/> <exclude name="**/gui/*.*"/> <exclude name="tools/**/*.*"/> <exclude name="content/extra/**/*.*"/> </fileset>
Maybe an extension function or something? I've been using a manually-maintained list of files like this, but it's a a pain:
<docroot> <root href="../../../doc_source/system100.xml" /> <root href="../../../doc_source/content/access/accesscore.xml" /> <root href="../../../doc_source/content/access/accesstest.xml" /> <root href="../../../doc_source/content/access/accesstest_commands.xml" /> etc. </docroot>
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] collecting a fileset with XSL, Mark Giffin | Thread | Re: [xsl] collecting a fileset with, Mark Giffin |
[xsl] collecting a fileset with XSL, Mark Giffin | Date | Re: [xsl] collecting a fileset with, Mark Giffin |
Month |