Keep structure

admin

Administrator
Staff member
Hello!I'm writing an XSLT script and I want to do the following conversion betweenXML and HTML:XML:<Para>Some times you see more than you want:<List><ListItem>ghosts</ListItem><ListItem>goblins</ListItem></List>See<Italic>what</Italic> I mean?</Para>HTML:<P>Some times you see more than you want:</P><UL><LI>ghosts</LI><LI>goblins</LI></UL><P>See <I>what</I> I mean?</P>My question is really about how to convert XML code of the form:<ELEMENT>[Text segment]<ELEMENT>[Text segment]</ELEMENT>[Text segment]</ELEMENT>... without losing the structure.Any help would be much appreciated!
 
Back
Top