[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Ant XSLT task issues - redo

Subject: Ant XSLT task issues - redo
From: "dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Feb 2024 17:30:23 -0000
 Ant XSLT task issues - redo
Sorry had a operator error and sent before completed.

I'm trying to use oXygen's environment to run a conversion effort that will be applied several hundred times to different bundles of DITA content.

oXygen has a transform process that ties into their projects and environments. At is the only "programming" language supported to do this.

I've got the framework of this process working but I'm getting an odd error when from Ant, I use the <xslt> task to process the dita content. I have this:

<target name="asciidoc-conversion">
<echo>=== Process map for navigation and folder structure</echo>
<echo>${normalMap}</echo>
<xslt
basedir="/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/formatsampleX/dita/out/dita/"
in="/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/formatsampleX/dita/out/dita/mrc1659720632866.ditamap"
style="/Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xsl"
destdir="/Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/dummy">
</xslt>
</target>


My understanding is:
- basedir should be where the files live that I want to process
- in should be the file that I want to process
- style is the stylesheet to apply
- destdir where to write the results.

I get this error when running this:

asciidoc-conversion:
[echo] === Process map for navigation and folder structure
[echo] /Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/formatsampleX/dita/out/dita//mrc1659720632866.ditamap
[xslt] Transforming into /Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/dummy
[xslt] Processing /Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/formatsampleX/dita/out/dita/FormatSample-samples2.pdf to /Users/danvint/pubsrc/_src-data-files/asciidoc-processing/Ixia-Source/dita-files/dummy/FormatSample-samples2.html
[xslt] Loading stylesheet /Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xsl
[xslt] : Error! file:/Users/danvint/pubsrc/dita2asciidoc/normal-map2asciidoc.xsl: line 380: An attribute whose value must be a QName or whitespace-separated list of QNames had the value 'list chunks'


Why is this trying to process FormatSample-samples2.pdf instead of mrc1659720632866.ditamap as I specified?

When I run the stylesheet directly against the mrc1659720632866.ditamap as specified everything works fine.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.