XSL - transforming XML elements to HTML depending on their properties

luoluohere

New Member
Maybe somebody had similar problem. I need to transform using XSL the input XML file:\[code\]<decision> <akapit nr = 1> This is <b>important</b> decision for the query number <i>0123456</i> </akapit></decision>\[/code\]As output I need a html document which displays text within elements <'b><'/b> as bolded, elements in <'i><'/i> as italic...etc. So, basically I need to format output HTML from XML element named <'akapit> depending on their subelements' names. Any idea how to use XSL template in such a case?
 
Back
Top