Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 23rd, 2006, 07:15 PM
Newbie
Guest
 
Posts: n/a
Default Stylesheets in Series

I need to apply 3 XSLT transformations in series. Can this be done in XSLT, or
does the calling program need to call them separately?

--
Posted via a free Usenet account from http://www.teranews.com

  #2  
Old July 23rd, 2006, 11:05 PM
Joe Kesselman
Guest
 
Posts: n/a
Default Re: Stylesheets in Series

Newbie wrote:
Quote:
I need to apply 3 XSLT transformations in series. Can this be done in
XSLT, or does the calling program need to call them separately?
Depends on what you mean by "three transformations". If you mean
separate stylesheets, then you have to invoke them in sequence unless
whatever stylesheet processor you have has a feature that supports
chaining them together (not at all common).

If you're willing to rewrite it as a single stylesheet with three
different modes, and use something like the node-set extension (or rely
on having an XSLT 2.0 processor available), you can transform into a
variable and then reprocess that variable's contents, using modes to
avoid conflicts between the templates applied in each pass.

Or you can start thinking about ways to rewrite the operations so it all
happens as a single transformation.


--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles