Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] multiple source files map to multiple target files

From: "Michael Kay" <mike@------------>
To:
Date: 4/4/2006 5:10:00 PM
> I want to copy (map?) specific information from a number of 
> source files
> to a number of target files. I do have the names of the old files and
> the matching names of the new files in a dBase. Is there a way that I
> can do this with xsl without having to to this manually?

I would normally suggest here that your XSLT code should transform one input
file to one output file, and that you should write an application around
this which invokes the transformation once for each pair of files. But it
you want to do this within Stylus, your options are more limited. You can do
a fair bit in Saxon using the collection() function which returns a set of
input documents, for example

xsl:for-each select="collection(concat($dir, '?select=*.xml;recurse=yes'))"

Michael Kay
http://www.saxonica.com/


> Platform - Windows XP, program - Stylus Studio - Is this enough info?
> Thanks
> Martina 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager at postmaster@xxxxxxxxxxxxxxxx
> **************************************************************
> ********


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent