Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 12th, 2012, 02:25 AM
Authorized User
Points: 102, Level: 2
Points: 102, Level: 2 Points: 102, Level: 2 Points: 102, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2009
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default Applying multiple character maps in succession

Hi - I'm trying to take an XML file, apply a transform that does a set of character-maps on it, then take the resulting XML file and apply a set of different character-maps on this file before it outputs text (not XML) data. The rationale for why I need to do this in two steps is a bit problem-specific and partly due to what the second transform does, and partly due to the restrictions imposed by the application that will consume the final output from the XSL transforms.

I know I can write one stylesheet and specify <xsl:output use-character-maps="customEscapes1"/> in it and then take the output from this phase and apply a second stylesheet with <xsl:output use-character-maps="customEscapes2"/> (I'd be orchestrating this two-stylesheet approach via Saxon and .NET). Is there any way to do this in a single stylesheet? I've used variables in the past to achieve multi-phase transformations but it looks like the <xsl:output> has to be a child of <xsl:stylesheet> and this would preclude use of variables. Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maps tedr BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 0 February 15th, 2010 04:59 PM
Help: character and multiple textboxes snoopy_sweden Javascript How-To 0 February 20th, 2007 04:08 AM
Applying Multiple Selected Values to a Listbox rit01 ASP.NET 2.0 Professional 1 December 15th, 2006 07:12 AM
*solved* applying same template to multiple nodes Brian Campbell XSLT 3 October 13th, 2006 06:56 PM
CHPT 17.Wrong succession list 5 last added sites. RABARBAR BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 April 5th, 2004 06:11 PM



All times are GMT -4. The time now is 02:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.