<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ah, yes that explains it completely. Just as background for all, generating tagged PDF is essentially putting the XSL FO xpath to all elements into the PDF in order to determine reading order of the document. As such, it must be a core option set on the formatter when FO is processed so that the FO xpath’s can be set in the XEPOUT format.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>RenderX<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Daniel Boughton [mailto:daniel.r.boughton@rrd.com] <br><b>Sent:</b> Monday, July 23, 2012 12:06 PM<br><b>To:</b> kevin@renderx.com; RenderX Community Support List<br><b>Subject:</b> Re: [xep-support] Re: Problem creating a tagged PDF<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>That was helpful. My problem was that I was running the FO->XEP with ENABLE_ACCESSIBILITY set to "false" and then running XEP->PDF with ENABLE_ACCESSIBILITY set to "true". When I have ENABLE_ACCESSIBILITY set to "true" for both steps, the document renders correctly.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Thanks for your help. <o:p></o:p></p><div><p class=MsoNormal>On Mon, Jul 23, 2012 at 1:43 PM, Kevin Brown <<a href="mailto:kevin@renderx.com" target="_blank">kevin@renderx.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Daniel:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you run without your custom post process are things OK? Meaning if you go from FO->XEP and then XEP->PDF *<b>without modification</b>*. If so, describe what you are doing in the custom process, perhaps that is breaking things. I just ran a document to XEPOUT with ENABLE_ACCESSIBILITY set to “true” and ran that to PDF and it worked fine. I suspect it is something in the modification script that is breaking things.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In the XEPOUT of the document, you should see things like this:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span style='color:#000096'><xep:text</span><span style='color:#F5844C'> value</span><span style='color:#FF8040'>=</span><span style='color:#993300'>"Custom Dashes"</span><span style='color:#F5844C'> x</span><span style='color:#FF8040'>=</span><span style='color:#993300'>"23177"</span><span style='color:#F5844C'> y</span><span style='color:#FF8040'>=</span><span style='color:#993300'>"566090"</span><span style='color:#F5844C'> width</span><span style='color:#FF8040'>=</span><span style='color:#993300'>"78243"</span><span style='color:#F5844C'> xpath</span><span style='color:#FF8040'>=</span><span style='color:#993300'>"/*[1][name()=&apos;root&apos;]/*[2][name()=&apos;page-sequence&apos;]/*[1][name()=&apos;flow&apos;]/*[1][name()=&apos;block-container&apos;]/*[1][name()=&apos;table&apos;]/*[2][name()=&apos;table-body&apos;]/*[1][name()=&apos;table-row&apos;]/*[1][name()=&apos;table-cell&apos;]/*[1][name()=&apos;block&apos;]"</span><span style='color:#000096'>/></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The “xpath” element is what is driving the tagged PDF. If your code is modifying (perhaps stripping this or double escaping it) it would break everything.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kevin Brown</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>RenderX</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xep-support-bounces@renderx.com" target="_blank">xep-support-bounces@renderx.com</a> [mailto:<a href="mailto:xep-support-bounces@renderx.com" target="_blank">xep-support-bounces@renderx.com</a>] <b>On Behalf Of </b>Daniel Boughton<br><b>Sent:</b> Monday, July 23, 2012 6:56 AM<br><b>To:</b> <a href="mailto:xep-support@renderx.com" target="_blank">xep-support@renderx.com</a><br><b>Subject:</b> [xep-support] Problem creating a tagged PDF</span><o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am having trouble creating a tagged PDF from the XEP proprietary file format. If I render a tagged PDF directly from FO it works just fine, but if I go from FO to XEP to PDF, the reader tell me that every page is blank. The Adobe accessibility report states that "None of the contents of this page are contained in the structure tree" for all pages. I need to run a post process on the XEP file, but I also need a tagged PDF as the result. Is there something I need to do differently when rendering a tagged PDF from the XEP file format?<br clear=all><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks.<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt'>-- <o:p></o:p></p><p style='line-height:12.0pt'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;background:white'>__________________________________________________________________________________</span><span style='color:#333333;background:white'><br></span><strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;background:white'>Daniel Boughton | Technical Analyst IV | RR Donnelley</span></strong><span style='color:#333333;background:white'><br></span><span style='font-family:"Arial","sans-serif";color:#333333;background:white'>W6545 Quality Dr | Greenville, WI 54942 <br>Office: <a href="tel:920.997.3635" target="_blank">920.997.3635</a> | Mobile: <a href="tel:920.450.3581" target="_blank">920.450.3581</a> | Fax: <a href="tel:920.997.3754" target="_blank">920.997.3754</a><br><a href="http://inside.rrd.net/insiderrd/pages/google/rrd_google_signature.aspx" target="_blank"><span style='color:#000099'>daniel.r.boughton@rrd.com</span></a><br><a href="http://www.rrdonnelley.com/" target="_blank"><span style='color:#000099'>http://www.rrdonnelley.com</span></a></span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>!DSPAM:87,500d57ed63731996012457! <o:p></o:p></p></div></div><p class=MsoNormal><br>_______________________________________________<br>(*) To unsubscribe, please visit <a href="http://lists.renderx.com/mailman/options/xep-support" target="_blank">http://lists.renderx.com/mailman/options/xep-support</a><br>(*) By using the Service, you expressly agree to these Terms of Service <a href="http://w" target="_blank">http://w</a><br><a href="http://ww.renderx.com/terms-of-service.html" target="_blank">ww.renderx.com/terms-of-service.html</a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='line-height:12.0pt'>-- <span style='color:#333333;background:white'><o:p></o:p></span></p><p style='line-height:12.0pt'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;background:white'>__________________________________________________________________________________</span><span style='color:#333333;background:white'><br></span><strong><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;background:white'>Daniel Boughton | Technical Analyst IV | RR Donnelley</span></strong><span style='color:#333333;background:white'><br></span><span style='font-family:"Arial","sans-serif";color:#333333;background:white'>W6545 Quality Dr | Greenville, WI 54942 <br>Office: 920.997.3635 | Mobile: 920.450.3581 | Fax: 920.997.3754<br><a href="http://inside.rrd.net/insiderrd/pages/google/rrd_google_signature.aspx" target="_blank"><span style='color:#000099'>daniel.r.boughton@rrd.com</span></a><br><a href="http://www.rrdonnelley.com/" target="_blank"><span style='color:#000099'>http://www.rrdonnelley.com</span></a></span><span style='color:#333333;background:white'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>