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 January 24th, 2006, 06:38 AM
Authorized User
Join Date: Jan 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default transform in xslt

how do I write the code that transform this line
<value parameter-name="apptier-id" parameter-value="!~apptier_id!~"/>

to become this new line:
<value parameter-name="timeFrame" parameter-value="!~timeframe!~"/>

with the new changed parameters and names.
thank you

Old January 24th, 2006, 07:14 AM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

How to you transform 5 into 10? You could add 5, or you could multiply by 2. In short, you need to explain how the output is supposed to relate to the input. Or you could just generate the output as a constant and ignore the input entirely.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Time transform blackest XSLT 10 April 1st, 2008 03:07 AM
XSLT: ONE template to transform all the elements Behl_Neha XSLT 8 December 15th, 2007 07:31 PM
XML/XSLT Transform Error in ASP kwilliams Classic ASP XML 2 October 9th, 2007 02:26 AM
XSLT Transform - need assistance emartin24 XSLT 2 September 7th, 2006 12:38 PM
XSLT Transform scubaduba C# 0 November 30th, 2004 06:31 AM

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