Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

Conversion Table with P tags to Body

$
0
0

I am converting from unstructured to structured XML in DITA.

 

In my conversion table, I have multiple paragraphs tagged with p, like this:

 

P     p[otherprops="ProcTitle"]     ProcTitle

P     p[otherprops="Paragaph"]     Paragraph

 

I apply my Conversion Table to my Unstructured doc, then save as XML using the Dita1.2 application. The conversion to structured completes fine. The save as xml has errors, but i expected that at this point.

 

I now want to edit the Dita EDD to use my formatting. When I apply the Dita EDD, all the "p" paragraphs convert to Body.

 

How to I configure the EDD to see the difference among the types of p paragraphs? I tried the following command in the EDD, but it was frankly just a guess based on similar configuration I saw in the EDD:

 

Under Body Element

 

Text format rules

       if context is [otherprops !="ProcTitle"]

          Use paragraph format: ProcTitle

     Else,

          Use paragraph format: Paragraph 

 

As I'm sure is no surprise for those of you in the know, this did not work. .

 

How can I do this?

 

Thanks in advance for any help you can give


Viewing all articles
Browse latest Browse all 66580

Trending Articles