How to design the rtf for XML data with empty namespace
Hi All,
I have the XML data like below. I need to display all the elements in PDF output. Since it has the empty namespace(xmlns="http://earth.google.com/kml/2.0") it is Generating blank PDF output from the RTF template.
XML data:
==========
<?xml version = '1.0' encoding = 'UTF-8'?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Response>
<name>500 Oracle Parkway</name>
<code>200</code>
<request>geocode</request>
</Response>
</kml>
RTF Design:
==========
<?name?>
<?code?>
<?request?>
I have followed the method as mentioned in the blog https://blogs.oracle.com/xmlpublisher/empty-namespaces so when I modified the RTF as below it gives me the error "oracle.xdo.XDOException: org.xml.sax.SAXException: Namespace prefix 'x' used but not declared" though I have declared the dummy namespace x.