xslt to transpose from xml to text -


i have xml , transform using xslt file text below. sort of transposition. in short b100 element repeated each of element contained in b721. xslt version 1.0

<top-level>  <mid-level> <b100>     <b110>ep2001036</b110> </b100>  <b700>     <b720>         <b721>             <snm>pinko-pallo</snm>             <adr>                 <str>chez lui</str>                 <city>bombai</city>                 <ctry>in</ctry>             </adr>         </b721>         <b721>             <snm>pinka palla</snm>             <adr>                 <str>chez elle</str>                 <city>bombay</city>                 <ctry>in</ctry>             </adr>         </b721>         <b721>             <snm>pinku pallo</snm>             <adr>                 <str>acasasua</str>                 <city>bombay</city>                 <ctry>in</ctry>             </adr>         </b721>     </b720> </b700> </mid-level> <mid-level> <b100>     <b110>ep2023037</b110> </b100>  <b700>     <b720>         <b721> <snm>mario rossi</snm>     <adr>         <str>chez moi</str>         <city>milano</city>         <ctry>it</ctry>     </adr> </b721> <b721> <snm>mario verdi</snm>     <adr>         <str>chez elles</str>         <city>bologna</city>         <ctry>it</ctry>     </adr> </b721> </mid-level>  </top-level> 

i want obtain following text file:

    ep2001036|pinko-pallo|chez lui|bombai|in|     ep2001036|pinka palla|chez elle|bombay|in|     ep2001036|pinku pallo|acasasua|bombay|in|     ep2023037|mario rossi|chez moi|milano|it|     ep2023037|mario verdi|chez elles|bologna|it| 

i not able find solution anywhere. many in advance help. brunella


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -