W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2011

Re: Trouble configuring custom extension in xmlcalabash

From: Alex Muir <alex.g.muir@gmail.com>
Date: Wed, 20 Jul 2011 23:24:17 +0000
Message-ID: <CAFtPEJY1fXeX62PNz1vd2s3hor0LUbvg0wpw66dgm382L6_3Xg@mail.gmail.com>
To: Geert Josten <geert.josten@daidalos.nl>
Cc: "XProc Dev (xproc-dev@w3.org)" <xproc-dev@w3.org>
Well you didn't mention editing extension-library.xml

Given a new step created I edited 2 files like follows

1. extension-library.xml

<p:declare-step type="mh:StoreAsText" version="1.0">
    <p:input port="source"/>
    <p:output port="result" primary="false"/>
    <p:option name="href" required="true" cx:type="xsd:anyURI"/>
    <p:option name="version" select="'1.0'" cx:type="xsd:string"/>
  </p:declare-step>


 2. configuration.xml

<implementation type="mh:StoreAsText"
  class-name="com.xmlcalabash.extensions.StoreAsText"/>


-- 
Alex Muir
Instructor | Program Organizer - University Technology Student Work
Experience Building
University of the Gambia
http://sites.utg.edu.gm/alex/<https://sites.google.com/a/utg.edu.gm/utsweb/>

Low budget software development benefiting development in the Gambia, West
Africa
Experience of a lifetime, come to Gambia and Join UTSWEB -
http://sites.utg.edu.gm/utsweb/<https://sites.google.com/a/utg.edu.gm/utsweb/>
Received on Wednesday, 20 July 2011 23:24:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 July 2011 23:24:55 GMT