63 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
96
views
Force sequencing in XProc when a p:for-each only has side effects?
I’m using XProc 3.0 with XML Calabash 3. I have a pipeline where:
I iterate over a directory of XML files
For each file, I run an XSLT trasnformation and store a modified version back to disk
After ...
0
votes
1
answer
46
views
How can I store xpath value in a variable?
With XProc I try to get value returned by a XPath on a loaded document and store it in a variable to apply next.
input.xml
<root>
<element id="test"/>
</root>
test.xpl
&...
1
vote
0
answers
47
views
Using XProc with saxonJS
The documentation (https://www.xml-project.com/manual/ch02.html) for the XProc processor MorganaXProc-III states that Saxon can be used as an XSLT processor by selecting the appropriate XSLTConnector. ...
-1
votes
1
answer
135
views
Some initial questions about XProc
I have been working with a product that, out-of-box, outputs a "raw" XML syslog in a proprietary (but simple) XML format and we are needing to transform some of the information in some of ...
0
votes
2
answers
132
views
XProc 3: form-data with file
does someone have an idea how to handle form-data with file upload in XProc 3.0?
<p:variable name="headers" as="map(xs:string, xs:string)" select="map {
'...
0
votes
2
answers
88
views
Passing document href as an option in XProc
I have an XProc script that currently hardcodes document hrefs like this:
<p:xslt>
<p:input port="source"/>
<p:input port="stylesheet">
<p:...
0
votes
2
answers
82
views
Select part of XML Document by dynamic evaluated XPath test expression
I am failing with a seemingly simple task.
I have a configuration file which defines different scenarios. Each scenario has a test expression. The idea is, that instructions within the scenario shall ...
0
votes
1
answer
119
views
What is the most efficient way to generate a log file in XPROC?
I created an XPROC 3.0 pipeline that performs several tasks to reorganize files using element such as p:for-each, p:choose, file steps and validation steps.
I would like to log the main events such as ...
0
votes
1
answer
285
views
Run XSLT transformation on multiple XML files with XProc
I have a directory with a bunch of files, some of which follow the naming convention 001.xml, 002.xml, 003.xml etc. I also have an XSLT stylesheet that I want to apply on every single of those files, ...
0
votes
1
answer
212
views
MorganaXProc-IIIse XSLTConnector or XSLTConnector error
I'm using MorganaXProc-IIIse (XPROC 3.0) to execute the following code:
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result&...
1
vote
1
answer
243
views
Creating a structural chart using XML and rendered via LaTeX
I am trying to recreate a structural chart through XSLT with already predefined formatting i.e, their appearance defined separately. The structure is written using XML but later transformed into LaTeX ...
0
votes
1
answer
204
views
XML Calabash MacOS gives SLF4J Error when running any xpl
I'm trying to install XML Calabash 1.3.2 on MacOS in order to use XPROC. I installed XML Calabash using brew:
brew install calabash
When I enter the following in the terminal:
calabash --version
It ...
0
votes
1
answer
205
views
XPROC p:file-mkdir not found
I'm using XPROC and the XPROC Processor MorganaXProc-IIIse. I'm actually just trying to create a directory through XPROC. However, all I get is this error message:
No visible declaration for '{http://...
0
votes
1
answer
465
views
How to sent a multipart/form-data POST request with XProc's p:http-request
I'd like to send a document using a multipart/form-data POST request with XProc's p:http-request function; Multi-part is needed as there are a few form fields that need to be sent too.
I just can't ...
0
votes
0
answers
146
views
xsl:result-document instruction throws error when invoking stylesheet with Calabash
I have an XSL stylesheet that looks like this:
<xsl:template name="xsl:initial-template">
<xsl:for-each-group select="collection($doc-collection)//dr:description" group-...