Hi Ivan, At a glance it appears your stylesheets use XSLT 2.0...
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> Unfortunately I don't believe Xalan supports XSLT 2.0. Frankly, you might want to try Saxon (http://saxon.sourceforge.net/), or one of the other XSLT processors out there that are under more active development. You could also try and just change the version in the stylesheets to 1.0 and see what happens. The one stylesheet I'm staring at doesn't seem to use any 2.0 features. -scott From: "Ivan ." <[email protected]> To: [email protected] Date: 04/27/2015 10:19 AM Subject: RE: Xalan Apache Transformation Engine Question Greetings, I seriously hope someone in your team can help me by answering my Xalan Apache transformation engine related question. I work with an application sold by PTC and it is named Arbortext Publisher. This app essentially enables one to assemble an entire technical manual by joining together a bunch of data modules which are coded in XML and then output a PDF of the assembled technical manual. From what I know, Arbortext Publisher utilizes the a Xalan Apache transformation engine to convert the XML to a PDF. My question is as follows. The stylesheets Arbortext Publisher applies to the PDF conform to the S1000D specification and these stylesheets are integrated into the Arbortext Publisher application. However, I can't use the built in S1000D stylesheets because my customer is the US Army and they have a different set of stylesheets they want us to use. Attached are the Army provided stylesheets I have tried substituting with no success. For some reason I can not explain why the Xalan Apache transformation engine does not recognize these Army provided XSL stylesheets when I try importing them into the Publisher application. I would appreciate tremendously if someone in your team can take a look at the attached Army provided XSL stylesheets and let me know why the Xalan Apache transformation engine refuses to recognize them and not apply these stylesheets? Furthermore, is it possible to add some kind of XML code into the attached XSL stylesheets that will make them usable within Xalan Apache transformation engine? Any advice or help you can provide will be tremendously appreciated. This problem has me seriously stuck and my Boss expects a solution to this problem. Therefore I am really stressing out. By the way, in case you are wondering I have already contacted PTC tech support and they were no help. All they provided was the email I have included below: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Arbortext Publisher uses Xalan as its XSLT transformation engine to transform the source XML document to an intermediate FO document using our FO-XSL stylesheets. The FO document is then passed to our FO engine (Apache FOP) to render the final PDF document. Both steps are performed internally within Arbortext Publisher, the intermediate FO document is held in memory and never written out to the file system. Below is a diagram detailing the transformations and flow of data in PrintServices to produce a PDF file: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Thank you very much for reading this email and I hope to hear back from you soon. Regards, Ivan P.S. - Below is a link to the ARMY website where I downloaded the attached stylesheets from. Also available for download on this website are example work files of an example technical manual coded in XML: https://www.logsa.army.mil/mil40051/S1000D.cfm[attachment "FO-3031-A00-USARMY-PARA_001-00_EN-US.zip" deleted by Scott Boag/Cambridge/IBM] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
