BI Publisher (MOSC)

MOSC Banner

How to design the rtf for XML data with empty namespace

edited May 11, 2019 5:59PM in BI Publisher (MOSC) 3 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center