Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Processing multiple files

From: "Andrew Welch" <ajwelch@--------------->
To:
Date: 9/1/2004 2:41:00 PM
> So, for example, I have DirectoryA, which contains PubFile1,
> ActivityFile1A, ActivityFile1B, PubFile2, ActivityFile2A,
> ActivityFile2B. What I need to do is take a few pieces of
> info from PubFile1 and start an output file (Output1). Then,
> I need to loop through all related ActivityFile documents and
> add the output of those to the Output1 file.

This is fine, have a look at the document() function in XSLT, and (if
you are using java) you should google for 'custom uriresolver' for more
info

> When that is
> complete, I need to move on to PubFile2 and create Output2,
> looping through the ActivityFile2 docs and adding their
> output to Output2.

You will need to do this in whatever language is performing the
transform - java,  etc.  I know Saxon has the ability to transform whole
directories from the command line if you are going down the batch route.

> (since I'm on the digest, an off-list reply would be even
> more appreciated...)

But that defeats the object of a public mailing list...

cheers
andrew


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