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

Re: Changing the Attibute Value

Subject: Re: Changing the Attibute Value
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 21 Jul 2008 09:14:36 +0200
Re:  Changing the Attibute Value
Hi Buddhi,

What is your specific question regarding this? Where do you go wrong? Do you have a certain error that bugs you? Can you show us the XSLT file you've got thus far?

Just asking "please do this project with these and that specs for me" is usually not going to work, since all people on this list are volunteers. On the other hand, if you want your project done by somebody else, many on this list may gladly provide you with professional services, paid of course :)

Cheers,
-- Abel --

Buddhi D. Mahindarathne wrote:
Dear All, I want to transform following using XSLT 1.0

<VisualObject xsi:type="CChamferEx">
	<maxQSwitch>133</maxQSwitch>
       <Address>Laser Job.Layer.ChamferedRectangle1</Address>
       <Name>ChamferedRectangle1</Name>
       <IsMark>true</IsMark>
       <Visible>true</Visible>
</VisualObject>

And get the output like this:

<VisualObject xsi:type="CFilletEx">
	<maxQSwitch>133</maxQSwitch>
       <Address>Laser Job.Layer.Fillet1</Address>
       <Name>Fillet1</Name>
       <IsMark>true</IsMark>
       <Visible>true</Visible>
</VisualObject>

Here are the things associated with this,

1. Attribute Change
2. Change last part on DOT separated value (I need to keep the last
value with the "Fillet" like [Fillet1] - in the sample number "one") 3. Change the Chamfer to Fillet, but need to keep the last number like
above case.


Please help me on this.

- Regards
____ _ _ _ _ | __ ) _ _ __| | __| | |__ (_)
| _ \| | | |/ _` |/ _` | '_ \| |
| |_) | |_| | (_| | (_| | | | | |
|____/ \__,_|\__,_|\__,_|_| |_|_|

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.