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

Re: The XProc Quine

From: Alex Muir <alex.g.muir@gmail.com>
Date: Fri, 12 Aug 2011 12:13:26 +0000
Message-ID: <CAFtPEJaQHYPPBi3g9=Y0O_WjuhxjKw58R2rgvZntQ3uu-hgj-Q@mail.gmail.com>
To: vojtech.toman@emc.com
Cc: xproc-dev@w3.org
Vojtech,

That's interesting why does an empty href <p:document href=""/> load the
document itself?

Is that a common feature across other tools?

Florents example seems to work when I run it.. I don't understand the
wrinkle but port law always confuses me so no surprise.

Alex


On Fri, Aug 12, 2011 at 9:20 AM, <vojtech.toman@emc.com> wrote:

> >   Excellent.  By using the appropriate shortcuts, we can even
> > reduce it further:
> >
> >     <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
> >      <p:identity>
> >       <p:input port="source"><p:document href=""/></p:input>
> >      </p:identity>
> >     </p:pipeline>
> >
>
> Yes, except for the small wrinkle that in order to run this pipeline, you
> would have to provide some input to its "source" input port.
>
> Regards,
> Vojtech
>
>
> --
> Vojtech Toman
> Consultant Software Engineer
> EMC | Information Intelligence Group
> vojtech.toman@emc.com
> http://developer.emc.com/xmltech
>
>
>


-- 
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 Friday, 12 August 2011 12:13:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 August 2011 12:13:54 GMT