4 Replies Latest reply: Feb 19, 2014 7:48 PM by user539616 RSS

Generating PDF output from OAF Using XML Publisher

user539616 Explorer
Currently Being Moderated

Hello,

 

I have custom OAF page where i have RichTextEditor field where the user enters data. The data is saved with html tags in the custom table. Now i am trying to generate output in PDF format and in this process, i am using XMLNode class and extracting the data from ViewObject which is based on this custom table. The output looks something like this where  &lt; is seen instead of <


Can anyone please guide me here. I am totally stuck at this part.

 

 

   <MainContent>

      <PostingContentId>1412</PostingContentId>

      <IncidentDesc>&lt;OL>&lt;LI>&lt;A href="http://www.yahoo.com/">www.yahoo.com&lt;/A>&lt;LI>&lt;A href="http://www.gmail.com/">www.gmail.com&lt;/A>&lt;LI>Nothing but more inaccurate. &lt;LI>much more problems&lt;/LI>&lt;/OL></IncidentDesc>

      <OtherDesc>&lt;OL>&lt;LI>&lt;A href="http://www.yahoo.com/">&lt;STRONG>&lt;EM>www.yahoo.com&lt;/EM>&lt;/STRONG>&lt;/A>&lt;LI>&lt;A href="http://www.gmail.com/">&lt;STRONG>&lt;EM>www.gmail.com&lt;/EM>&lt;/STRONG>&lt;/A>&lt;LI>&lt;STRONG>&lt;EM>Nothing but more inaccurate. &lt;/EM>&lt;/STRONG>&lt;LI>&lt;STRONG>&lt;EM>much more problems&lt;/EM>&lt;/STRONG>&lt;/LI>&lt;/OL></OtherDesc>

      <PersonInvolved>test person</PersonInvolved>

      <AdditionalDesc>&lt;OL>&lt;LI>&lt;DIV align=center>&lt;A href="http://www.yahoo.com/">www.yahoo.com&lt;/A>&lt;/DIV>&lt;LI>&lt;DIV align=center>&lt;A href="http://www.gmail.com/">www.gmail.com&lt;/A>&lt;/DIV>&lt;LI>&lt;DIV align=center>Nothing but more inaccurate. &lt;/DIV>&lt;LI>&lt;DIV align=center>much more problems&lt;/DIV>&lt;/LI>&lt;/OL></AdditionalDesc>

      <ActionTaken>&lt;P>&lt;A href="http://www.yahoo.com/">www.yahoo.com&lt;/A>&lt;/P>&lt;P>&lt;A href="http://www.gmail.com/">www.gmail.com&lt;/A>&lt;/P>&lt;P>Nothing but more inaccurate. &lt;/P>&lt;P>much more problems&lt;/P></ActionTaken>

      <ServiceProvided>&lt;UL>&lt;LI>&lt;A href="http://www.yahoo.com/">www.yahoo.com&lt;/A>&lt;LI>&lt;A href="http://www.gmail.com/">www.gmail.com&lt;/A>&lt;LI>Nothing but more inaccurate. &lt;LI>much more problems&lt;/LI>&lt;/UL></ServiceProvided>

      <IncidentType>Student Injury</IncidentType>

      <PersonTelephone>898989898</PersonTelephone>

      <CreationDate>2014-02-18 21:54:40.0</CreationDate>

      <SchoolId>2265</SchoolId>

   </MainContent>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points