ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

RE: Transformation of

Subject: RE: Transformation of
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Fri, 11 Feb 2005 11:22:33 -0600
korts items
Hi,

You mean you have placeholders for various variables inside the main
variable? Then use parameters to fill them in when running your stylesheet.

HTH,
<prs/> 

-----Original Message-----
From: news@xxxxxxxxxxx [mailto:news@xxxxxxxxxxx] 
Sent: Friday, February 11, 2005 5:21 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  Transformation of 

Hello List,

I have the following XML in form of a variable:

input:
<XML>
	<item>vlue</item>
	<item>%special value%</item>
	<item>vlue</item>
	<item>%special value%</item>
	<unkown_items/>
	<unkown_items/>
</XML>

I want to transform the variable into another variable, having all <item>s
values which contain a '%' changed into other values. (like "super special
value" instead of "%special value%") My problem is, that there are planty of
unknown items in the variable that I dont know and that might change. But I
want the XML structure to stay as it is, and just replace some items values.

output:
<XML>
	<item>vlue</item>
	<item>super special value</item>
	<item>vlue</item>
	<item>super special value</item>
	<unkown_items/>
	<unkown_items/>
</XML>

How can I do this?

thanks!

Jan

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.