what im doing right now. is changing the xml tag to its counterpart in xhtml.
the problem so far is. there are some extra tag that i don't need.
the program i'm doing right now is. changing the xml tag and removing some of the tags i dont need. is there any better way to do this?
the requirement is. the output must be html5.
thank you
example xml
<PublisherInfo>
<PublisherName value="1">Askquestionzero Publisher</PublisherName>
<PublisherLocation>Ph</PublisherLocation>
<PublisherImprintName>Askquestionzero</PublisherImprintName>
<PublisherLogo>
<Tada>Remove this value and its content</Tada>
</PublisherLogo>
<PublisherLogo>
<Tada>Remove this value and its content</Tada>
</PublisherLogo>
<PublisherURL>Askquestionzero.com</PublisherURL>
<Title>Some Title here</title>
<Para>This is some text for the paragraph <emphasis><italic>Chapter</italic></emphasis></Para>
</PublisherInfo>
desired output
<h1>Askquestionzero Publisher</h1>
<h2>Some Title here</h2>
<p>This is some text for the paragraph <i>Chapter</i></p>
in the example above. i dont need the other node. and what i need is to get the content of Title node. and the para node. and remove the emphasis node and change the italic node to I.