I hereby claim:
- I am dwcramer on github.
- I am dcramer (https://keybase.io/dcramer) on keybase.
- I have a public key whose fingerprint is 0755 8849 F254 F737 A1D2 E13F C1DE 4971 BB69 F521
To claim this, I am signing this object:
#!/usr/bin/python | |
# Chunk a big markdown file into smaller files | |
# at the h2 level. Throw away anything above that. | |
# This assumes a 'well-formed' file. I.e. if you put an | |
# h1 below an h2, this happily sticks it in the file | |
# for it's parent h2. | |
# Name output files based on heading names, replacing | |
# spaces with - and adding ".html.md". No other bad characters |
I hereby claim:
To claim this, I am signing this object:
--- | |
- hosts: localhost | |
user: "{{ linuxUser }}" | |
roles: | |
- role: launch_instance | |
cloud: openstack | |
node_name: jenkins-slave2.xbudev.org | |
flavor_id: 2ad22f89-86b5-43fd-bea5-7b89a7d9b6e6 | |
network_id: 05706879-d518-4fe2-9113-627e514c23b5 | |
attach_volume: false |
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns="http://docbook.org/ns/docbook" | |
xmlns:db="http://docbook.org/ns/docbook" | |
exclude-result-prefixes="xs db" | |
version="2.0"> | |
<!-- | |
DeltaXML is much better at diffing tables if the following things are true: |
dcramer@Anatine ~ | |
$ /Applications/xmlcalabash-1.1.16-97/calabash -pgen.summary.tables='0' -pfoo='' Documents/git-repos/xproc-param-example/pipeline.xpl | |
INFO : Documents/git-repos/xproc-param-example/library.xpl:49:42: | |
Incoming Parameters: | |
<c:param-set xmlns:c="http://www.w3.org/ns/xproc-step"> | |
<c:param name="gen.summary.tables" namespace="" value="0"/> | |
<c:param name="foo" namespace="" value=""/> | |
</c:param-set> |
<?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" | |
version="1.0" name="main"> | |
<p:input port="source"> | |
<p:inline> | |
<doc>Hello world!</doc> | |
</p:inline> | |
</p:input> | |
<p:output port="result"> | |
<p:pipe port="result" step="test"/> |
dcramer@anatine-2 ~/Downloads/load-xinclude | |
$ /Applications/xmlcalabash-1.1.20-98/calabash -i ./book.xml load-xinclude.xpl | |
<wrapper xmlns:c="http://www.w3.org/ns/xproc-step"><loadme.xml><book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> | |
<title>test</title> | |
<chapter version="5.0" xml:base="file:/Users/dcramer/Downloads/load-xinclude/chapter.xml"> | |
<title>Chapter</title> | |
<para>Ipsum</para> | |
</chapter> | |
<glossary role="auto"/> | |
</book></loadme.xml><glossary.xml><glossary xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> |
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step version='1.0' name="main" | |
xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:pxp="http://exproc.org/proposed/steps" | |
xmlns:ex="http://xproc.org/ns/xproc/ex"> | |
<!-- Always include this to ward off evil --> | |
<p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/> | |
<p:input port="source"> |