[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: multiple source files map to multiple target files

Subject: RE: multiple source files map to multiple target files
From: "Sreeni Yetchina -X \(syetchin - Pure Solutions at Cisco\)" <syetchin@xxxxxxxxx>
Date: Tue, 4 Apr 2006 10:13:52 -0700
files.map
Thanks Mike, this also helps one of my present similar issue(Many -To-
Many conversion)
How good is the MSXSL transformer with extensions to combine multiple
XML files into one XML file by XSLT?

Any existing MSXSL/nXLT extensions available?

Regards,
Sreeni

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Tuesday, April 04, 2006 10:10 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  multiple source files map to multiple target files

> 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
> **************************************************************
> ********

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.