๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9833

XSL : how to turn <name> into <data elem="name">

#9833
From: "Sebastien NOEL"
Date: Wed, 07 Feb 2001 17:42
21 lines
1756 bytes
Hello everyone,

I am a beginner in XSL. I would like to convert XML document into another 
XML document using XSL. The only transformation is to do

<name>value<name/> INTO <data elem="name">value</data>

for all tags in incoming XML. How can I do this ?

Thank in advance,

S๏ฟฝbastien

(http://www.mailgate.org/fr/fr.comp.text.xml/)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


-- 
Posted from [194.7.206.153] by way of f82.law4.hotmail.com [216.33.149.82] 
via Mailgate.ORG Server - http://www.Mailgate.ORG
Technical Details
Message-ID: <F82OXwHyqk4hPO1eVGi00013fb4@hotmail.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.mailgate.org!f82.law4.hotmail.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 114f60,b9bab05ef535c4ba,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-02-07 09:42:40 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.mailgate.org!f82.law4.hotmail.com!not-for-mail
From: snoei@hotmail.com ("Sebastien NOEL")
Newsgroups: fr.comp.text.xml
Subject: XSL : how to turn <name> into <data elem="name">
Date: 7 Feb 2001 18:42:38 +0100
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 21
Message-ID: <F82OXwHyqk4hPO1eVGi00013fb4@hotmail.com>
NNTP-Posting-Host: f82.law4.hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-Trace: news.mailgate.org 981567758 31989 216.33.149.82 (Wed, 07 Feb 2001 17:42:31 -0000)
X-Complaints-To: f82.law4.hotmail.com@abuse.net abuse@mailgate.org
NNTP-Posting-Date: 7 Feb 2001 17:42:38 GMT
Mail-From: snoei@hotmail.com from [194.7.206.153] by way of f82.law4.hotmail.com [216.33.149.82]
X-Originating-IP: [194.7.206.153]
X-URL: http://www.Mailgate.ORG