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

Re: Convert XML elements with extended attributes into

Subject: Re: Convert XML elements with extended attributes into CSV
From: Xiaocun Xu <xiaocunxu@xxxxxxxxx>
Date: Sun, 27 May 2001 21:20:48 -0700 (PDT)
convert xml elements into attributes
Hi, Jeni:

> I'd use &quot; since it's more readable:
> 
>   <xsl:value-of select="concat('&quot;',
> @Description, '&quot;')" />

Ah, yep, forgot that one.  You are right, I should've
used that.  Thanks.

> The translate() function only deals with
> single-character-to-single-character replacement. 
> To get what you
> need, you need to use a recursive template to work
> through the string,
> replacing all "s with ""s:

Wow, didn't know this is complicated.  Thanks for the
code, I will read it through and understand how it is
done.

Thank you again for all the advices you have
suggested, they have been most helpful.

On a separated note, for another XSL I am working on,
I need to find the path to the current node from the
root node.  I have found the Path Trace section in the
XSLT FAQ.  Are the methods described in there still
the best way to go at this time or there are extention
functions already handles this?

Much appreciated,
Xiaocun

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 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.