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

Re: Call another XML and XSL from an XSL outputting HT

Subject: Re: Call another XML and XSL from an XSL outputting HTML
From: "M. David Peterson" <m.david@xxxxxxxxxxxxx>
Date: Sun, 01 Jul 2007 10:25:31 -0600
Re:  Call another XML and XSL from an XSL outputting HT
On Sun, 01 Jul 2007 09:56:13 -0600, Manfred Staudinger
<manfred.staudinger@xxxxxxxxx> wrote:

What I don't know
is who to apply a different stylesheet with it???

This is a definite -1 for this technique. There's two ways I can think of working around this,

1) Have two different file versions with the same XML data, changing the
value the PI.
2) Import the necessary transformation files and use an XML driven
approach to deciding which one to use (e.g. <xsl:template
match="/foo">...</xsl:template> <xsl:template
match="/bar">...</xsl:template>

Dependent on the size of both the XML data file and the XML transformation
file(s), there could be a significant barrier to entry for using either of
the above solutions.  The best solution in this regard would be to use
JavaScript-based transformations.

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.