get exData body of a static text

Avatar

Avatar

dariush1972

Avatar

dariush1972

dariush1972

02-11-2011

Hi experts,

I've got a static text as follow (xml source)

        <draw minH="20mm" name="Text" w="190mm" x="0.6477mm" y="201.971mm">

            <ui>

               <textEdit>

                  <margin/>

               </textEdit>

            </ui>

            <value>

               <exData contentType="text/html">

                  <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.5.6290.0"><p style="text-align:justify;font-family:Arial;text-decoration:none">Il sottoscritto<span style="xfa-spacerun:yes"> </span</body>

               </exData>

            </value>

         </draw>

I need to change the body formatting dynamically.

I've tried with exData.saveXML() function but this returns

<?xml version="1.0" encoding="UTF-8"?>

<exData contentType="text/html"/>

how can I get the body xml?

Best regards,

Dariush

View Entire Topic

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

03-11-2011

Works for me …this is what I get back:

?xml version="1.0" encoding="UTF-8"?>

I highlighted the text is green so you can see it better!

Paul