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

Re: Is it possible to access a tag after using apply-

Subject: Re: Is it possible to access a tag after using apply-templates?
From: XemonerdX <xemonerdx@xxxxxxxxx>
Date: Sat, 5 Jul 2008 12:29:18 +0200
Re:  Is it possible to access a tag after using  apply-
Michael,

The code I gave was merely an exercise for me to see if and how this
could achieved. The actual application will have to support loads and
loads of dynamic (multi-lingual) texts/code in the final output,
combinations of which can be as diverse as possible as well. So in
Martin's code I have several xsl:param's across the XSLT for each
variable, this will only increase as the amount of variable texts
increases. That's what I meant. My main concern is to separate the
final layout as much as possible from the XSLT, so as to allow other
people to design/play with it (within the limitations set by me
ofcourse), and to be able to re-use as much XSLT-generating code as
possible for generating output for different agents (XHTML, content
for mobile phones, plain text, etc).

Thank you for your answers (everybody sofar), it's a (fun!) challenge
to not think of XSLT in a procedural way.

Edwin

On Fri, Jul 4, 2008 at 7:08 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> I can't quite see why lots of xsl:params should be needed, but I haven't
> really studied the detail of the problem (in fact, I don't think you've
> really shown us the full detail). But I would think that a generated XSLT
> stylesheet should in principle be faster than interpreted code.
>
> I've used this technique with clients to generate stylesheets for capturing
> data from (thousands of similar) Excel spreadsheets, and performance never
> became an issue.

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