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

Re: vCard output from XProc?

From: Florent Georges <fgeorges@fgeorges.org>
Date: Mon, 20 Aug 2012 17:16:31 +0100
Message-ID: <CADyR_r0DyNhhneBKVhAUcon_+m=CjTQ_G+THSJhcdGmkSx3kVA@mail.gmail.com>
To: Zearin <zearin@gonk.net>
Cc: XProc Dev <xproc-dev@w3.org>
On 20 August 2012 16:36, Zearin wrote:


> Description: err:XD0001 : XD0001 It is a dynamic error if a non-XML
> resource is produced on a step output or arrives on a step input.

  Your stylesheet is probably returning text, not XML.  The usual
workaround is simply to represent text as... an XML element containing
the text (see e.g. usage of c:data and c:result in the spec).  If you
can't (or don't want to) modify your original stylesheet, you can
always have an inline stylesheet importing the original one and
overriding the main template to wrap the result into a c:data element.


Florent Georges
Received on Monday, 20 August 2012 16:17:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:04 UTC