cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with xhtml text in adobe forms

Former Member
0 Kudos

Hellow!

I try to show xhtml text in adobe forms

I pass string as text value to element like this::

<html  xmlns="http://www.w3.org/1999/xhtml"
 xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" 
xfa:APIVersion="2.4.5325.0">
<body> <p>Hellow, world!</p></body></html> 

Next, in Initialization text element event I do next:

$.value.#exData.loadXML($) 

So In adobe form I see text "Hellow world", it means that html support works.

But

If a Pass Next text

<html  xmlns="http://www.w3.org/1999/xhtml" 
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" 
xfa:APIVersion="2.4.5325.0">
<body> <p><strong>Hellow
 </strong>world!</p></body></html> 

I see only "world!". Text between <stromg></strong> tag dosn't display.

What I do wrong? Why xhtml text works, but it don't understand <strong></strong> text?

(The value I get from WEB DynPro application)

Edited by: Mordyasov Petr on Jul 16, 2010 9:43 PM

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Use

<b>

instead of

<strong>

See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.

Sebastian

Former Member
0 Kudos

O-o, thanks a lot!

Using this document I made a translation-tag table,

<strong> replaced by <b>,  
           and so on....

So, my problem solved

Edited by: Mordyasov Petr on Jul 28, 2010 9:47 PM

Answers (2)

Answers (2)

jagadeesheluru
Explorer
0 Kudos

Hello All,

I am maintaining rich text in adobe text field then also I couldn't find any change the html tags are keep on appearing in the output file. could someone please help how to display in adobe as style I want .

The data I am pulling is long text using read_text FM when I am doing this ,data is getting imported into internal table with html tags like below

<ul><h1>Testing test testing test </h1><p>testing test testing test </p><p><strong>hello world</strong><br/></p><li><h1>REd</h1></li><li><h1>del</h1></li></ul>

please someone could suggest in this.

Thanks in advance !

Jagadeesh Eluru.

OttoGold
Active Contributor
0 Kudos

Try this one:

of course the behavior may depend on the field type you use. Which do you use?

Otto