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 April 11th, 2013, 06:09 AM
Registered User
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need urgent help on xslt..

Hi There,

I am new to XSLT and below is my requirement...

I need to convert the input URL given below..

/services/ann/annget/110414/QB12345678/01


to below format...

/services/ann/annget/uid=110414/gid=QB12345678/mid=01

Could someone please help me on this?

Thanks,
Rahul
 
Old April 11th, 2013, 06:58 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Are you using XSLT 2.0 or 1.0? It will be much easier if you can use XSLT 2.0.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old April 11th, 2013, 07:33 AM
Registered User
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply..

I am using XSLT version 1.0. Our product doesn't support 2.0.

I would really appreciate if you can help me in this.

Thanks,
Rahul
 
Old April 11th, 2013, 07:40 AM
Registered User
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also,

In the url below..the velues 110414, QB12345678 and 01, will not be constant everytime...so I need to make a use of variables to store the values from incoming url and then convert into the expected format mentioned in the first post.

/services/ann/annget/110414/QB12345678/01

Thanks,
Rahul





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Function very urgent alapati.sasi XSLT 3 May 23rd, 2007 03:45 AM
doubt in XSLT -- very urgent subbukns XSLT 1 May 21st, 2007 05:10 PM
Query About XSLT-Urgent harshalchoksi XSLT 6 February 23rd, 2007 06:43 AM
urgent help with xslt sonya9879 XSLT 1 August 18th, 2005 09:17 AM
XSLT HELP URGENT! pkg XSLT 3 June 22nd, 2005 01:46 AM





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