[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: "Buddhi D. Mahindarathne" <buddhi@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Jul 2008 11:33:29 +0530
RE:  Changing the Attibute Value
First of all thank you, for your valuable answer and time
For the first query I found the answer from your query...

But for the second I am not happy with the answer you provided... I feel
the thing I have asked is not XSL basics. Please don't discriminate
people here. Hope many comes to here getting other peoples valuable
help. Keep in mind no one knows everything.

I have expertise in so many other areas than XSLT, I am bit new to this
world. Rather than learning it from kinder garden I came here to get an
expert answer for my question (I hope you all agree as SW people we have
very limited time). That is what this kind of forums does.

I too involved in so many forms related to my field and giving answers
to the people who ever, asked for NO COST. (People are born to help
others)

Hope all the above are not related to XSL, Sorry guys... I am really not
happy the way "Abel" treat the people who comes here...

- Regards

- Buddhi -


-----Original Message-----
From: Abel Braaksma [mailto:abel.online@xxxxxxxxx]
Sent: Tuesday, July 22, 2008 10:16 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Changing the Attibute Value

Buddhi D. Mahindarathne wrote:
> 1. In this XSL we are specifically searching for "ChamferedRectangle1"
> in two places, but the last number "1" will change in XML files. So I
> need a way of searching only for "ChamferedRectangle" without "1"
>

use the XPath function starts-with()

> 2. After first "template match" we are inside the node set, so can't
we
> do everything with in that, rather than having multiple matches..???
>

Exactly. You just have multiple matches and the processor will decide
which one matches your input best. But you can do a lot inside it, using

xsl:for-each, xsl:copy-of, xsl:value-of, xsl:choose etc. Lookup any
manual to find out what instructions are valid. At www.w3schools.org
there's a basic tutorial on XSLT.

Cheers,
-- Abel --

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.