(Using FOP Trunk)

Hi all,

I'm working with FOP embedded in a Java application to generate PDF files
with accessibility features enabled.
I've set everything up  an it works pretty well. Further, I've customized
the mapping so that I can map whatever structure tag I need (H1, H2... etc).

However my question is about the tagging generated by FOP after the
transformation is complete. I open the PDF file with a viewer (Particularly
Adobe Professional 9) and take a look to the tagging tree.

I see something like this:

<Document>
     <Part>
       <Sect>
          <P>
               <L>
               <H1>
               <...>
                ...

As you can see, the "main" tagging of the document hangs from a <P> tag that
is generated always from scratch. Even if I transform a blank document it
still builds up this tagging structure, hanging the whole tagging from a <P>
tag, which in this last case it's empty.

Would it be possible to omit that <P> tag and make the whole structure to
hang from the <Sect> tag? Like:

<Document>
     <Part>
       <Sect>
               <L>
               <H1>
               <...>
                ...

I've tried different ideas via XSL, yet I can't get rid of this 'annoying'
<P> tag. :D

Just wondering if someone else has this problem and could help me out.

Thanks a lot,

MazZzta

Reply via email to