Hi ,
I have one XML file. In that XML file it consist of multiple XML declarations. While transforming that XML file into another format (like HTML ) I can't able to handle those multiple declartions in the XML file.
Pls see the example code below :
Code:
<root>
<class>
<name> Gopi </name>
<Eid>455</Eid>
<Addr> Andhra Pradesh <?xml version="1.0" encoding="UTF-8"?></Addr>
</class>
<class>
<name> Krishna </name>
<Eid>456</Eid>
<Addr> Kerala <?xml version="1.0" encoding="UTF-8"?></Addr> </class>
</root>
In the above code XML Version Declaration is appeared inside the <Addr> element.
I hope you can understand whats the problem I was facing.
When I transforming the above XML file into HTML by using XSLT I can't able to handle XML declartions in the XML file.
Could you please assist me to resolve the above issue.
Thanks in Advance for ur valuable suggesions