|
Subject: [xsl] collection issue, update/rename file From: davep@xxxxxxxxxxxxx Date: Wed, 29 Feb 2012 11:02:19 -0000 |
input a directory full of .xml files
running a transform to modify one element, identity
transform for the rest.
(Yes, I have created a backup)
I want to
process A.xml, write out A.xml ... somehow
(no I'm not on Linux to make it easy)
I'm using
<xsl:for-each select="collection('file:///Long-path?select=*.xml')">
<xsl:result-document
href="???"
method="xml"
encoding="utf-8"
indent="yes">
<xsl:apply-templates/>
base-uri(.) returns the full pathname of the source document?
Do I have to work with that to obtain A.xml?
(text processing....)
Is there some way I can obtain the filename.extn?
TIA Dave
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Mixed content, separation, Wendell Piez | Thread | Re: [xsl] collection issue, update/, Andrew Welch |
| Re: [xsl] Mixed content, separation, Geert Bormans | Date | Re: [xsl] collection issue, update/, Andrew Welch |
| Month |