0

As far as I understand, we can use 1 XSLT to read multiple xml files as inputs. May I know if there's a way to read multiple inputs and produce multiple outputs as well (within 1 XSLT)?

1 Answer 1

0

Yes, this is a standard feature of XSLT 2.0, with the xsl:result-document instruction.

Some XSLT 1.0 processors offer similar capabilities using vendor extensions, but it's not possible within the W3C standard.

Sign up to request clarification or add additional context in comments.

2 Comments

How can we read multiple n number of file at a time in XSLT 2.0
@AmrendraKumar Reading multiple files has always been possible with the document() function (or by supplying additional files as stylesheet parameters). Writing multiple files needs 2.0 or later.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.