W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2008

calabash p:delete not working

From: James Fuller <james.fuller.2007@gmail.com>
Date: Sat, 4 Oct 2008 11:42:52 +0200
Message-ID: <a0ad8ffe0810040242l7eb48102gb5858935b5ae267d@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: "XProc Dev" <xproc-dev@w3.org>

might be a prob with p:delete e.g. using the following pipeline

 <p:pipeline name="pipeline"
            xmlns:p="http://www.w3.org/ns/xproc">

   <p:delete name="step1">
        <p:with-option name="match" select="//a"/>
   </p:delete>

</p:pipeline>

on std input of

<?xml version="1.0" encoding="UTF-8"?>
<test>
    <a>test1</a>
    <b/>
</test>

returns

<?xml version="1.0" encoding="UTF-8"?>
<test>
    <a>test1</a>
    <b/>
</test>

I would expect the <a/> element to be removed.


- Jim Fuller
Received on Saturday, 4 October 2008 09:43:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 4 October 2008 09:43:27 GMT