This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: create element


You asked this question a few days ago and I gave you a detailed answer. Why
are you asking it again?

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> CHAOUI Hassan
> Sent: 02 May 2002 08:49
> To: 'xsl-list@lists.mulberrytech.com'
> Subject: [xsl] create element
>
>
> 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
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]