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.<div><br></div><div>Thanks for your help. <br><br><div class="gmail_quote">
On Mon, Jul 23, 2012 at 1:43 PM, Kevin Brown <span dir="ltr"><<a href="mailto:kevin@renderx.com" target="_blank">kevin@renderx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Daniel:<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><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:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><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><span style><br>
<br></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Kevin Brown<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">RenderX<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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""> <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<u></u><u></u></span></p>
</div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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">
<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks.<u></u><u></u></p></div><p class="MsoNormal" style="line-height:12.0pt">-- <span style="color:#333333;background:white"><u></u><u></u></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: <a href="tel:920.997.3635" value="+19209973635" target="_blank">920.997.3635</a> | Mobile: <a href="tel:920.450.3581" value="+19204503581" target="_blank">920.450.3581</a> | Fax: <a href="tel:920.997.3754" value="+19209973754" 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><span style="color:#333333;background:white"><u></u><u></u></span></p>
</div></div><p class="MsoNormal"><br> <u></u><u></u></p></div></div><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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(51,51,51);line-height:16px;background-color:rgb(255,255,255)"><p>
<font face="Arial, Verdana, Helvetica, sans-serif" style="font-size:12px">__________________________________________________________________________________</font><br><strong style="font-size:12px;font-family:Arial,Verdana,Helvetica,sans-serif">Daniel Boughton | Technical Analyst IV | RR Donnelley</strong><br>
<font face="arial, helvetica, sans-serif">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" style="color:rgb(0,0,153);text-decoration:underline;outline-style:none;outline-width:initial;outline-color:initial" target="_blank">daniel.r.boughton@rrd.com</a><br>
<a href="http://www.rrdonnelley.com/" style="color:rgb(0,0,153);text-decoration:underline;outline-style:none;outline-width:initial;outline-color:initial" target="_blank">http://www.rrdonnelley.com</a></font></p></span><br>
</div>
!DSPAM:87,500da0ac63731976247327!