Re: vCard output from XProc?

On 20 August 2012 16:36, Zearin wrote:

  Hi,

> 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.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

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