[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Parameter substitution

Subject: Re: Parameter substitution
From: Trevor Nash <tcn@xxxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 18:19:49 +0000
Re:  Parameter substitution
>My task, (you guessed it) is to replace each %1, %2 etc.. with a string 
>built from the correspondong ErrorParameter

Step one is to write an element instead of %1 - something like
   <arg n="1"/>
that will make your life a whole lot easier.

Not allowed to change the XML ?  Well, you can do it using some quite
messy recursive string-handling templates.  Fortunately if you look a
month or two back in the archive of this list you will find someone
has already most done the work for you.  But its still easier to get
the XML right first if you can.

Trevor Nash
--
Traditional training & distance learning,
Consultancy by email

Melvaig Software Engineering Limited
voice:     +44 (0) 1445 771 271 
email:     tcn@xxxxxxxxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.