Skip to content

Instantly share code, notes, and snippets.

View rdeltour's full-sized avatar

Romain Deltour rdeltour

View GitHub Profile
@rdeltour
rdeltour / main.rng
Created June 29, 2012 13:45
Repro for ndw/xmlcalabash1 issue #51

Try this in the issue51 directory:

calabash -U org.xmlresolver.Resolver test.xpl

It returns:

SEVERE: com.xmlcalabash.core.XProcException: Error loading schema

@rdeltour
rdeltour / dabblet.css
Created November 14, 2012 15:08
EPUB 3 DICT Sample
/* EPUB 3 DICT Sample */
@import url(http://meyerweb.com/eric/tools/css/reset/reset.css);
/* Layout */
article {
margin:0.5em;
margin-bottom: 2em;
}
@rdeltour
rdeltour / dabblet.css
Created March 4, 2013 10:41
EPUB 3 Index Sample
/* EPUB 3 Index Sample */
/* Typography */
body {
font-family: times, serif;
}
h2 {
font-weight: bold;
@rdeltour
rdeltour / test.xpl
Created March 7, 2013 11:37
Calabash OutOfMemory Issue
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step version="1.0" name="test" xmlns:p="http://www.w3.org/ns/xproc"
xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:c="http://www.w3.org/ns/xproc-step"
exclude-inline-prefixes="#all" xpath-version="2.0">
<p:output port="result"/>
<p:xslt template-name="main">
<p:input port="source">
<p:empty/>
@rdeltour
rdeltour / tokenize.xpl
Created August 23, 2013 13:41
XProc step to produce a sequence of `c:result` documents from a tokenized string.
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step type="px:tokenize" xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:px="http://www.daisy.org/ns/pipeline/xproc"
version="1.0">
<p:option name="string" required="true"/>
<p:option name="regex" required="true"/>
<p:option name="flags" select="''"/>
@rdeltour
rdeltour / Result with Saxon EE
Last active August 29, 2015 14:05
XSLT secondary port order
<doc>3</doc>
<doc>2</doc>
<doc>1</doc>
<doc>5</doc>
<doc>4</doc>
<doc>6</doc>
<doc>7</doc>
<doc>8</doc>
<doc>9</doc>
<doc>10</doc>
@rdeltour
rdeltour / test.xpl
Created December 24, 2014 00:32
Test XProc file for I/O-related steps
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:pxf="http://exproc.org/proposed/steps/file" xmlns:pxp="http://exproc.org/proposed/steps" version="1.0">
<p:output port="result" sequence="true">
<p:pipe port="result" step="load"/>
<p:pipe port="result" step="http"/>
<p:pipe port="result" step="copy"/>
<p:pipe port="result" step="info"/>
<p:pipe port="result" step="tempfile"/>
<p:pipe port="result" step="zip"/>

Keybase proof

I hereby claim:

  • I am rdeltour on github.
  • I am rdeltour (https://keybase.io/rdeltour) on keybase.
  • I have a public key whose fingerprint is BC3A DB73 7AEC 28D5 C55C 3BC0 A483 B942 B8E1 FEA1

To claim this, I am signing this object:

@rdeltour
rdeltour / thoughts.md
Last active June 11, 2017 18:20
Improving diversity at XML Prague

Improving diversity at XML Prague

XML Prague is an awesome conference, very well organised and with great talks… but there's one point were it could do better: having a more diverse speaker line up.
For instance in 2017, for the 2nd year in a row, all the speakers of the main track where (white) males. Diversity is not only about having more women presenters, although that would be a good start.

This documents intends to present some thoughts and suggestions for improving the issue. Comments and commits welcome!
(disclaimer: I don't claim to have all the right answers, nor to say that it's an easy endeavor. If you feel this document is useless or otherwise wrong, please comment!)

We can surely do it!