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

RE : translation string to element

Subject: RE : translation string to element
From: "Nicolas Mazziotta" <Nicolas.Mazziotta@xxxxxxxxx>
Date: Wed, 17 Apr 2002 11:22:41 +0200
about translate string xml
That's not exactly that:
Consider the following .xml file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
	I am fine
</root>

I want to create a templatethat would produce the following output:

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
	I am <tag>fine</tag>
</root>

or

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
	I am &mood;
</root>

or


<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
	I am not fine
</root>

etc.

N. Mazziotta
-----Message d'origine-----
De?: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] De la part de cutlass
Envoyé?: mercredi 17 avril 2002 11:16
À?: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet?: Re:  translation string to element

uhhhh,

<xsl:element name="$string">

</xsl:element>

not quite sure what u mean ?

cheers, jim fuller

----- Original Message ----- 
From: "Nicolas Mazziotta" <Nicolas.Mazziotta@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 17, 2002 10:08 AM
Subject:  translation string to element


> Hello,
> Can anybody tell me how to translate a string (not a single character
> and not the whole text() of an element) into an element or an entity?
> Best regards.
> 
> N. Mazziotta
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.