Re: [xsl] combining multiple documents

Subject: Re: [xsl] combining multiple documents
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 24 Jan 2008 10:38:00 +0000
On 24/01/2008, Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx> wrote:
> I had hoped that the sequence
> ...
>         <apply-template/>
>         <apply-template select="doc(@file)"/>
> ...

It's "apply-templates" but I get what you mean...

> In the XSL transform would do the trick, but it does not. The
> transformation of main.xml returns the transformed ext.xml and the
> content of main.xml is ignored.
> I've tried a number of things but have not been able to solve the
> problem. I am missing something obvious?

Remember that your root matching template will be applied again when
calling apply-templates on doc(@file), so that could be an issue, its
hard to tell without seeing it.

This is a classic case where you could reduce the problem down to tiny
set of files that demonstrates the problem and post them here.

Andrew Welch

Current Thread