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

writing out attribute value for xml:lang tag

Subject: writing out attribute value for xml:lang tag
From: "Matthias O. Will" <m.o.will@xxxxxx>
Date: Fri, 13 Oct 2000 17:37:59 +0200
xml lang tag
Hi,

When translating an XML document into another, how do I write out
attribute values for a xml:lang tag? E. g. if I have something like

<String xml:lang="en">This is a string</String>

and I need to use the xml:lang value (in this case, it's 'en'), how can
I use it in my xsl file?

<xsl:variable name="isolang"><xsl:value-of
select="String/@xml:lang"/></xsl:variable>

does not seem to work ...

Your help is greatly appreciated!

Thanks,
Matt
-- 

Matthias O. Will (m.o.will@xxxxxx)                       <>< 
Institute of Computer Science,       University of Freiburg
Georges-Koehler-Allee, Bldg. 51, D-79110 Freiburg,  Germany	 
Phone:   +49-761-203-8170             Fax: +49-761-203-8162  
URL:     http://ad.informatik.uni-freiburg.de/~will


 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.