Re: [xsl] Batch transform into one file

Subject: Re: [xsl] Batch transform into one file
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 16 Jan 2008 11:43:40 -0500
Gary,

At 10:21 AM 1/16/2008, you wrote:
If I run the XSL for a batch transform as I wrote it below, it creates a transformed file for each XML file in my folder. Those XML files with "W1L" are transformed and contain the desired data (File #<xsl:copy-of select="field[@id='4']"/>) and are about 1 KB. Those XML files with "W1S" are transformed and are blank containing no data and are 0 KB. By looking at the file size, 1 KB, I can then tell which files contain "W1L".

It's a bit crass, but is quick and dirty way of getting what I need now while I spend more time on implementing your suggestions.

It's also a (sneaky) variant on my first suggestion. :-)


Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread