Questions tagged [xproc]

An XML language to define XML transformation pipelines.

An XML language to define XML transformation pipelines.

59 questions
1
vote
1 answer

How to call calabash xml from a Java program

I try to set up a web based application using spring and xslt. Since i always use xslt in a pipelining style, i would like to use calabash. Is there a possibility to call calabash from Java? I read thru the documentation on http://xmlcalabash.com…
jschneeberger
  • 41
  • 1
  • 1
  • 3
0
votes
1 answer

p:variable :: What does shaddowing mean and can I reassign a new value to a previously declared p:variable

I've not tried it yet. Can we update the value of p:variable anywhere else in the pipeline i.e. after its valid declaration at start of some step? If not then why? Also what is the best way of doing this, if I really need to do or at least simulate…
ask-dev
  • 606
  • 2
  • 13
  • 30
0
votes
1 answer

XPROC - Generation of files in secondary port

My requirement is to generate one XML file and few HTML files in the secondary port. I have configured few steps in XProc. Here’s the sample code:
dirin
  • 351
  • 1
  • 3
  • 3
0
votes
0 answers

How to add a complex doctype with Xproc using p:store?

I have some XML files with complex doctypes like this :
Nicolas
  • 1
  • 2
0
votes
1 answer

Passing document href as an option in XProc

I have an XProc script that currently hardcodes document hrefs like this: I would like to pass…
Tench
  • 485
  • 3
  • 18
0
votes
2 answers

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 be applied to input documents which match the…
0
votes
1 answer

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 error, the files processed, etc. The first…
0
votes
1 answer

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, but not other files in the directory. I want to…
Tench
  • 485
  • 3
  • 18
0
votes
1 answer

MorganaXProc-IIIse XSLTConnector or XSLTConnector error

I'm using MorganaXProc-IIIse (XPROC 3.0) to execute the following code:
0x44656E6E79
  • 1,053
  • 3
  • 14
  • 21
0
votes
0 answers

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 shows me the correct output of version 1.3.2 But,…
0x44656E6E79
  • 1,053
  • 3
  • 14
  • 21
0
votes
1 answer

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://www.w3.org/ns/xproc-step/filesystem}file-mkdir'…
0x44656E6E79
  • 1,053
  • 3
  • 14
  • 21
0
votes
1 answer

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 get the content of the file (an XSD file in my…
DiZzZz
  • 621
  • 3
  • 12
0
votes
0 answers

xsl:result-document instruction throws error when invoking stylesheet with Calabash

I have an XSL stylesheet that looks like this:
wasmachien
  • 969
  • 1
  • 11
  • 28
0
votes
0 answers

How to replicate both the main output and xsl:result-document of an XSLT trasnformation with XProc

I have an XProc pipeline which takes a source document and transforms it using several steps, storing along the way intermediate results (I need those as well). This is pretty straightforward and works very well. But in the last step, where…
Tench
  • 485
  • 3
  • 18
0
votes
1 answer

XProc p:store href variable when using xsl:result-document

I'm using XProc to run an XSLT that spits out numerous result-documents (using the xsl:result-document). I'm unsure how to go about adding a variable for the @href in the step. I've got the below XProc:
user2093335
  • 197
  • 1
  • 2
  • 12