<div dir="ltr">Thank you very much for the detailed instructions. I haven't been able to get a good output yet due Saxon, FOP, and XSLT errors but I have something to start with and I am working through those errors. I got through the Saxon errors with only a few warnings remaining, now on to the FOP and XSLT errors.<div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><div>Respectfully yours,</div><div><br></div><div>David Coe</div><div>321-287-4263</div><div><a href="mailto:dcoe@tekdec.com" target="_blank">dcoe@tekdec.com</a></div><div><a href="http://www.tekdec.com" target="_blank">www.tekdec.com</a></div><div><br></div><div><div style="font-size:12.8px">---|---|---|---</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Vice President, <a href="http://www.stc-orlando.org/" target="_blank">STC Orlando Central Florida Chapter</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Vice President of Technology & Communications, <a href="http://www.pmicfc.org/" target="_blank">PMI Central Florida Chapter</a></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 14, 2016 at 5:03 AM, oXygen XML Editor Support (Costin Sandoi) <span dir="ltr"><<a href="mailto:support@oxygenxml.com" target="_blank">support@oxygenxml.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi David,<br>
<br>
If you have an XSL stylesheet (XSL-FO) that produces an FO (which
can then be processed into PDF), you should create a scenario of the
"XML transformation with XSLT" type for the "current XML file".<br>
<br>
To set up the scenario you can either:<br>
- open the XML file and look in the "Transformation Scenarios" view
(Window > Show View > Transformation Scenarios)<br>
- open the XML file and from the main menu invoke Document ->
Transformation -> "Configure Transformation Scenario(s)" (there's
a corresponding button in the toolbar - looks like a wrench near a
tiny "play" button)<br>
- right click on the XML file in the Project view and from the
contextual menu choose Transform -> "Configure Transformation
Scenario(s)".<br>
<br>
In the "Configure Transformation Scenario(s)" dialog press "New" and
select "XML transformation with XSLT" to create a new scenario:<br>
1. Give it an appropriate name<br>
2. Leave the "XML URL" field to its default (${currentFileURL})<br>
3. In the "XSL URL" field browse for your stylesheet.<br>
4. If you have an XSLT 2.0 stylesheet choose from the transformer
combo Saxon-PE or Saxon-EE (we always suggest using the -PE edition,
unless the -EE is specifically required), otherwise you can leave it
to Saxon6.5.5.<br>
5. Since you also need to publish the result in PDF format, you
should go to the "FO Processor" tab in the configuration dialog and
enable the "Perform FO Processing" option (make sure you have "pdf"
selected under "Method").<br>
6. You should also specify the output file in the "Output" tab.
Please note that the "Save as" field must refer a single file, NOT
an output directory. Use the editor variables to compose a generic
name instead of a fixed one.<br>
e.g in the "Save as" field you can specify: ${cfd}/${cfn}.pdf which
translates into
<current-file-directory>/<current-filename>.pdf<br>
7. You may also want to enable the "Open in Browser/System
Application" option so that the PDF is opened in your default system
associated PDF reader. Also clear the "XML" box from the "Show in
results view as" section.<br>
8. Press OK in the editing dialog and then "Save and close".<br>
<br>
To run the transformation for an open XML file, go to "Configure
Transformation Scenario" and select the transformation scenario you
have just configured (check its corresponding box in the scenarios
list), then click "Apply associated" to start the transformation
process.<br>
If your document is already associated with the scenario, you could
just press the "Apply Transformation Scenario(s)" button (big red
"play" button in the toolbar), or use the equivalent action from
oXygen menu Document > Transformation.<br>
<br>
Furthermore, if you need to apply this scenario to multiple XML
files (batch transformation of your XML documents), you should first
add them to your project, select them (or their folder) in the
Project view and from the contextual menu (right click) choose
either:<br>
- Transform -> "Transform with...", then select your scenario
from the list and press "Apply selected scenarios" (this only
applies the specific transformation scenario once, but it does not
also associate the scenario with the files for further
transformations)<br>
- Transform -> "Configure Transformation Scenario(s)" and select
your scenario from the list and press "Apply selected scenarios".
This will also associate the scenario with the selected files
/folders, so next time you can simply use Transform -> "Apply
Transformation Scenario(s)" and the associated scenario will be
used.<br>
<br>
The transformation scenario will be applied by Oxygen separately for
each XML file. This is why the output of the transformation scenario
must refer a single file.<br>
<br>
I hope these tips help.<br>
<br>
Regards,<br>
Costin<br>
<div>
<div><br>
<div>
<div>Costin Săndoi</div>
<div><span><span><</span><span>o</span><span>X</span><span>ygen</span><span>/></span><sup>®</sup></span>
XML Editor, Author and Developer</div>
<div><a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a></div>
<div>Tel: <a href="tel:%2B1-650-352-1250%20ext.302" value="+16503521250" target="_blank">+1-650-352-1250 ext.302</a><br>
Fax: <a href="tel:%2B40-251-461482" value="+40251461482" target="_blank">+40-251-461482</a></div>
<br>
------------------------------------------------------------
<pre>This message (including any attachments) contains confidential
information and is intended only for the individual(s) named. If
you are not the named addressee you should not disseminate,
distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake
and delete this e-mail from your system. Any quotation contained
herein has a validity of 30 days, unless otherwise specified.</pre>
<br>
</div>
</div>
</div>
<div>On 7/13/2016 6:18 PM, David Coe wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I am looking for some suggestions how to develop a
transformation scenario that uses a customer-provided XML DTD
and XLST Stylesheets developed for MIL-STD-40051-2B.
<div><br>
</div>
<div>Previously, I used Oxygen XML Editor 16.1 to edit and
validate XML against the customer-provided DTD. Once all the
code and content was completed, then I used ArborText Editor 7
with Print Composer and its default FOSI to transform the the
XML using the customer-provided XSLT stylesheets to PDF
output.
<div><br>
</div>
<div>With my new client, I no longer have access to ArborText
Editor and I want to be able to produce the PDF output
through Oxygen XML Editor, some guidance is greatly
appreciated.</div>
<div><br>
</div>
<div>
<div>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><br>
<div>Respectfully yours,</div>
<div><br>
</div>
<div>David Coe</div>
<div><a href="tel:321-287-4263" value="+13212874263" target="_blank">321-287-4263</a></div>
<div><a href="mailto:dcoe@tekdec.com" target="_blank">dcoe@tekdec.com</a></div>
<div><a href="http://www.tekdec.com" target="_blank">www.tekdec.com</a></div>
<div><br>
</div>
<div>
<div style="font-size:12.8px">---|---|---|---</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Vice President, <a href="http://www.stc-orlando.org/" target="_blank">STC Orlando Central Florida
Chapter</a></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Vice President of
Technology & Communications, <a href="http://www.pmicfc.org/" target="_blank">PMI Central Florida Chapter</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
oXygen-user mailing list
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a>
<a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>