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 do I use XProc as a copy filter in gradle?

I have an XQuery script that I want to run against all of the files in a gradle copy task as a filter. I am looking at both XQJ and XProc. Since there is a supported implementation of Calabash in ml-gradle, I decided to go that route. Is there an…
Loren Cahlander
  • 1,257
  • 1
  • 10
  • 24
1
vote
0 answers

bash to xproc (unix to XML)

I am trying to understand how xproc works and to convert bash scripts to xproc. I am used to bash scripting, but now the idea is to have everything in an XML format... here is my bash script: It creates some info in arrays and then loops over one of…
gugy
  • 105
  • 11
1
vote
1 answer

Sequence input to in XProc 1.0?

Is in XProc able to accept a sequence of documents as input? When I feed Calabash the following:
obdurodon
  • 51
  • 8
1
vote
3 answers

How to make p:xslt aggregate input from two sources

After reading the XProc question below: XSLT with XProc - parameter binding in the required type Passing document() parameter to an xslt in XProc pipeline It seems impossible to pass document-node() type parameter to XSLT in XProc. So the only way…
chansey
  • 1,266
  • 9
  • 20
1
vote
2 answers

Passing document() parameter to an xslt in XProc pipeline

I've set up an XProc pipeline wherein I have a step. Amoung the parameters of this stylesheet, I have an parameter which is a document() node: This is the km_to_dita.xsl stylesheet:
potame
  • 7,597
  • 4
  • 26
  • 33
1
vote
3 answers

Error from XProcxq module in eXist-db

We're running eXist-db version 3.0 and want to try running XProc within it. We found that the XProcxq Module is now part of eXist: http://exist-db.org/exist/apps/doc/extensions.xml#module_xprocxq However, in attempting to use it we get the error…
zrdunlap
  • 177
  • 2
  • 12
1
vote
0 answers

XProc to access XML data from FTP (with authentication)

My goal is to access an XML document sitting on an FTP server via an XProc. This particular FTP server requires authentication. I am using the latest version of Calabash (1.1.6-96) on Java 8. The following XProc works perfectly when authentication…
rexsavior
  • 75
  • 4
1
vote
1 answer

XProc and CDATA

I have an XSLT that creates some CDATA within a node. XML: stuff XSLT:
rexsavior
  • 75
  • 4
1
vote
1 answer

Xproc: passing a dynamic href to

I have a pipeline that runs an XSLT on the input, then doing a PUT of that result into a database via a step. The tricky bit here is that I need to build a dynamic href using metadata from the output of the XML. Pseudo…
Avbasot
  • 363
  • 1
  • 3
  • 15
1
vote
1 answer

Feeding output of into of HTTP PUT request in Xproc

My goal for my Xproc pipeline below is to take in a source XML document, run 2 XSLT transforms with steps, then feed the output XML after the 2nd to the of the step:
Avbasot
  • 363
  • 1
  • 3
  • 15
1
vote
1 answer

Calabash 1.0.23 throws on xsl-formatter step: ERROR: Failed to instantiate FO provider

I'm trying to use XML Calabash 1.0.23 to run XSLT transformation and FO formatting in a single pipeline. Although the XSLT step works fine, I cannot get the xsl-formatter step to work with FOP. Every time I run the pipeline, Calabash throws: ERROR:…
ARX
  • 1,040
  • 2
  • 14
  • 20
1
vote
3 answers

Saving each node of a xml document as a file with XProc

I got a xml document with follwing structure content1 content2 ... contentN I want to create a xproc pipeline with the…
Oliver
  • 60
  • 1
  • 8
1
vote
1 answer

XProc: set output language

I have an XSL stylesheet which formats a date in a given locale. When I run the stylesheet from Oxygen, the output is in German as expected. When I use the command line for saxon9he or xproc, the output is in english. I'd like to have it in german…
topskip
  • 16,207
  • 15
  • 67
  • 99
1
vote
1 answer

Either a source document or an initial template must be specified

I'm trying to run the following xproc code which involves sequence of xslt steps in pipeline. However the Calabash is not able to read or get the source document although the 'href' link is clearly mentioned. The following error is reported in…
gops
  • 13
  • 5
1
vote
2 answers

XProc: XD0001 It is a dynamic error if a non-XML resource is produced on a step output or arrives on a step input

Requirement: Is to add correct Doctype declaration on the output xml [The root element of the input xml can be chapter or section element] Input XML: chapter.xml
suresh
  • 67
  • 5