[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: combining multiple documents

Subject: Re: combining multiple documents
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 24 Jan 2008 10:38:00 +0000
Re:  combining multiple documents
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.


cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.