Questions tagged [xproc]

An XML language to define XML transformation pipelines.

An XML language to define XML transformation pipelines.

59 questions
4
votes
2 answers

How to simplify this xproc pipeline?

I've just started digging into XProc (using Calabash). I have a series of XSLT transformations I want to apply to a single input document to produce a single output document. I was previously using a simple Python script to drive the…
Will McCutchen
  • 13,047
  • 3
  • 44
  • 43
4
votes
1 answer

Transformation outputs Non-XML documents

I just want to transform an input document (it's just a list of file references) to several output documents. this works:
Oliver
  • 61
  • 3
3
votes
0 answers

How to implement XProc in BaseX

I am working on a project where I must follow multiple steps at the time of data ingestion into the BaseX Database. I want to define these steps in XProc for the ease. Specially we need DOCX to DocBook and DocBook to DOC converstion. My BaseX…
Navin Rawat
  • 3,208
  • 1
  • 19
  • 31
3
votes
2 answers

xproc and XQuery 3.1

from XProc: W3C Recommendation / p:xquery The p:xquery step applies an [XQuery 1.0] query can I use xproc with XQuery 3.1?
Dill
  • 1,943
  • 4
  • 20
  • 28
3
votes
1 answer

Running Calabash XML From Code

I downloaded Calabash XML a couple of days back and got it working easily enough from the command prompt. I then tried to run it from Java code I noticed there was no API (e.g. the Calabash main method is massive with code calls to everywhere). To…
bobmarksie
  • 3,282
  • 1
  • 41
  • 54
2
votes
6 answers

XML streaming with XProc

I'm playing with xproc, the XML pipeline language and http://xmlcalabash.com/. I'd like to find an example for streaming large xml documents. for example, given the following huge xml document: Book-1
Pierre
  • 34,472
  • 31
  • 113
  • 192
2
votes
0 answers

XProc pipeline with multiple http-request steps

I have an XProc pipeline with two http-request steps. The first http-request retrieves an XML document containing a sequence of RDF/XML documents. An xquery step extracts only the RDF/XML, which I then want to post to a SPARQL endpoint in the second…
tat
  • 321
  • 1
  • 19
2
votes
2 answers

XSLT workflow with variable number of source files

I have a bunch of XML files with a fixed, country-based naming schema: report_en.xml, report_de.xml, report_fr.xml, etc. Now I want to write an XSLT style sheet that reads each of these files via the document() XPath function, extracts some values…
chiborg
  • 26,978
  • 14
  • 97
  • 115
2
votes
2 answers

Spliting an XML and remove empty attributes using xslt 2.0

I want to remove empty attributes from xml and also need to split it based on particular element .I created two xsl's for splitting and removing empty attributes seperately , its working fine . But i need to combine these two xsl's such that after…
Deepak Nagaraj
  • 317
  • 3
  • 7
2
votes
2 answers

XSLT with XProc - parameter binding in the required type

I'm trying to translate my batch file calling the Saxon (version 8.9) into a XProc pipeline (Calabash). This is my batch call: java -jar saxon8.jar -o out.xml in.xml style.xsl +config=config-file.cfg The parameter config is defined in the…
2
votes
2 answers

How to call XML Calabash programatically from Java

I cannot find an example or indication on how to call XML Calabash (an Xproc implementation) to be run from Java. The requirements are simple: List item Be able to programatically specify inputs and outputs. List item Be able to work concurrently…
aym
  • 233
  • 1
  • 4
  • 17
2
votes
0 answers

How to generate doctype declarations dynamically in XProc?

Requirement: Is to add correct Doctype declaration on the output xml [The root element of the input xml can be chapter or section element]. For Instance, consider the chapter element public identifier is PUBLIC "-//OASIS//DTD DocBook Chap XML…
suresh
  • 67
  • 5
2
votes
1 answer

XProc: multiple XSLT transformation with intermediate files

I need to do several XSLT transformations with intermediate XML files. (I need the files, the real case is a bit more tricky as a later step loads intermediate files) first.xml ------------> intermediate.xml ------------> final.xml …
topskip
  • 16,207
  • 15
  • 67
  • 99
1
vote
1 answer

Executing XPROC

Am very new to XSLT and XPROC stuffs. Now i have written my sample XPROC, As like every beginner, i also started with Hello World. hello.xpl
i2ijeya
  • 15,952
  • 18
  • 63
  • 72
1
vote
1 answer

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 code using forest package in directory tree…
SolidMark
  • 193
  • 9
1
2 3 4