xsl-list
[Top] [All Lists]

RE: Chain of XSL Transformations

2003-06-28 01:23:53
Hi Tom,

Thanks for your reply. I was thinking of exactly the same approach, but was actually looking for a way to get along without the batch file. That's because I am programming something in xsl that lets me translate another transofrmation language into xsl, so I wanted to have a way to generate *everything* automatically in xsl.


Best Regards,


At 10:47 27.06.2003 -0400, you wrote:
[Adrian Grigore]

> So, is there any other tool that would take the output from
> the nth xsl
> template and apply the next if necessary as described above?
> Of course I
> could code something like this, but why re-invent the wheel
> if someone
> might have done it already... :-)

If the downstream stylesheet to apply depends on the result of the
transformation, I would use a processor, like Saxon, that lets me write
multiple output files, and I would use that capability to write a second
file containing the next stylesheet to use - say in a file called
"next.txt"

Then I would use a batch file to create the command line to do the next
transformation, and so the chain that way.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Adrian Grigore

--
Adrian Grigore
adrian(_at_)lobstersoft(_dot_)com
Lobstersoft - Fun Brain-Bending Games For All Ages
http://www.lobstersoft.com
Member of the Association of Shareware Professionals


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>