[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Friends,
If the following:
will print the value of 'h1' tags of each document with extension .xml in the current directory, then how can I get it to print/capture the filename itself of each file?
For instance, if my directory holds the files a.xml, b.xml, c.xml,
I want the template to captur in a variable or select statement, those names.
Any help greatly appreciated!
Arno R.
[xsl] XSLT collection function to get filenames
Subject: [xsl] XSLT collection function to get filenames From: "Arno H.P. Reuser" <a@xxxxxxxxxx> Date: Sun, 16 Mar 2008 14:48:12 +0100 |
Friends,
If the following:
<x:for-each select="collection('?select=*.xml')"> <br /><x:value-of select="//h1" /> </x:for-each>
will print the value of 'h1' tags of each document with extension .xml in the current directory, then how can I get it to print/capture the filename itself of each file?
For instance, if my directory holds the files a.xml, b.xml, c.xml,
I want the template to captur in a variable or select statement, those names.
Any help greatly appreciated!
Arno R.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Fwd: [xsl] instance-of schema-eleme, Mukul Gandhi | Thread | Re: [xsl] XSLT collection function , Martin Honnen |
Re: [xsl] Slow XSLT, Manfred Staudinger | Date | Re: [xsl] XSLT collection function , Martin Honnen |
Month |