This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
create element
- From: CHAOUI Hassan <HCHAOUI at unedic dot fr>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 2 May 2002 09:48:53 +0200
- Subject: [xsl] create element
- Reply-to: xsl-list at lists dot mulberrytech dot com
In my input xml file, I have this structure :
<table>
<row>
<cell>
Name
</cell>
<cell>
Hassan
</cell>
</row>
<row>
<cell>
Age
</cell>
<cell>
23 year
</cell>
</row>
<row>
<cell>
City
</cell>
<cell>
Bordeaux
</cell>
</row>
<row>
<cell>
Country
</cell>
<cell>
France
</cell>
</row>
</table>
I want to have an output file with this structure:
<rule name="Name" value="Hassan">
<Age>
23 year
</Age>
<City>
Bordeaux
</City>
<Country>
France
</Country>
</rule>
Thank you for helping
H. Chaoui
+----------------------------------------------------------------+
| Ce courrier ainsi que les fichiers joints sont confidentiels. |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du systeme : exp-iris@unedic.fr |
| --------- |
| Ce message confirme que le courrier a passe le controle |
| antivirus du relais de messagerie Internet avec succes. |
+----------------------------------------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list