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]

Correct way to handle nested tags



> I have the xml:
> <text>
>   some text <img src="img1.gif"/>
>   more text <img src="img2.gif"/>
>   some more text <img src="img3.gif"/>
>   end of text
> </text>
>
> How would I generate the html:
> "some text <img src="img1.gif"> more text <img src="img2.gif"> some
more
> text <img src="img3.gif"> end of text"

Sorry about my previous post. I wanted to apply different styles to the
images so the html should be:
"some text <img style="some style" src="img1.gif"> more text <img
style="some style" src="img2.gif"> some more
> text <img style="some style" src="img3.gif"> end of text"

Thank you.

--
Athanasios Gaitatzes (gaitat@fhw.gr)
Virtual Reality Department
Foundation of the Hellenic World
254 Pireos St., Tavros 17778, Athens Greece
Tel: +30 1 483-5300 ext. 1132


 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]