- From: Rui Lopes <rlopes@di.fc.ul.pt>
- Date: Thu, 06 Nov 2008 11:02:58 -0500
- To: public-xml-processing-model-comments@w3.org
- Message-ID: <49131532.1090700@di.fc.ul.pt>
Dear Vojtech, You can POST with p:http-request and, with binary data encoded in base64, you can effectively store binary data to a URI. See the spec's "7.1.10.2 Request Entity body conversion" Section (part of p:http-request). Rui Toman_Vojtech@emc.com wrote: > Hi all, > > I was wondering whether we are not missing functionality for storing > binary data. Something like a counterpart of p:data or p:http-request. > For p:load, there is p:store, but suppose I fetch binary data using > p:http-request and I want to store it to a URI - I can't. The only thing > I can do at the moment is to let the pipeline return the (wrapped) > base64 encoded data and store it outside of XProc. > > I know that XProc really is not aimed for handling binary data, but > since we already have steps such as p:xsl-formatter that store binary > content, and p:data/p:http-request for loading binary data into XProc, > perhaps a binary equivalent of p:store (which would take a c:data > wrapped content and store it as binary data) could be useful. But maybe > not for V1. > > Regards, > Vojtech
Received on Thursday, 6 November 2008 16:04:44 UTC