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

Re: vCard output from XProc?

From: Zearin <zearin@gonk.net>
Date: Wed, 22 Aug 2012 22:00:50 -0400
Cc: XProc Dev <xproc-dev@w3.org>
Message-Id: <D8179547-66E1-4BFB-A433-AEC9B56011AC@gonk.net>
To: Florent Georges <fgeorges@fgeorges.org>

On Aug 20, 2012, at 12:47 PM, Florent Georges <fgeorges@fgeorges.org> wrote:

> On 20 August 2012 17:35, Zearin wrote:
> 
>> The entire purpose is to produce non-XML output for other programs to use.
>> And those programs accept VCards—not an XML wrapper containing VCards.
> 
>  The workaround is not to change your requirements, it is to have XML
> flowing through steps in XProc ;-)  When you save the result, you tell
> p:store to use the text serialization method (option method = text).


Ahh!  Okay!

Cool!  I was trying to p:store directly on the output of the p:xslt step.  My thought process was that if p:store is just going to save it in the filesystem, that it wouldn’t matter (given p:store’s lack of primary outputs).

But now it makes sense to me.  I 

THANK you! :D

—Z
Received on Thursday, 23 August 2012 02:01:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 23 August 2012 02:01:25 GMT