Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 12th, 2012, 02:25 AM
Authorized User
 
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!





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





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