On 05/07/2010, at 6:14 PM, Hussein Shafie wrote: > Conrad, Alan wrote: >> >> I'm having trouble rendering a docbook book where I have used Copy as >> Reference/Paste. I am using XMLEditor Professional 4.6.0 and have >> purchased and installed XEP. >> >> If I use XMLEditor (Docbook->Convert Document->Convert to PDF...), my >> Table 4.1 (see attachment) is generated correctly. However, I need to >> use a custom xsl file. >> >> For the purpose of demonstrating my problem, if I use xslutil_pro-4_4_0 >> and your docbook xsl file >> (.../xslutil_pro-4_4_0/addon/config/docbook/xsl/fo/docbook.xsl), the >> copied reference fails with a SAX parser exception. If I remove the >> copied reference, xslutil renders the document ok. Screen shots are >> attached. >> >> Can you please help me? >> > > --> There is no way to solve this problem: > > * XMLEditor processes XIncludes (AKA "Copy as Reference/Paste") itself. > XMLEditor fully supports the XInclude standard. > > * XSLUtility delegates this task to the Xerces XML Parser, which has > limited support for XInclude. This limitation is documented here: > http://www.xmlmind.com/foconverter/_distrib/doc/help/xinclude_support.html > > --> XMLEditor can be made to use custom XSL stylesheets, albeit not as > easily as XSLUtility. > > If you send us ([email protected]) this custom XSL stylesheet, we'll > return you a ready-to-use (5-lines long) add-on instructing XMLEditor to > use it instead of the stock one. > > (If you are curious, how to implement such add-on is explained here: > http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html) > > --> If you consider that XSLUtility is unusable in your case because of > the limitation of Xerces, do not hesitate to ask for a refund by sending > an email to [email protected]. > > > > > >
Hussein, Thank you for your helpful response to my query. Please find a much cut down example of an xml file using a reference and the corresponding xsl file. I am interested to see your suggestion. Thank you. Sincerely, Alan Conrad -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

