[Xml-compile] Decoding XOP content?

Kit Peters Kit.Peters at broadbean.com
Wed Aug 17 23:27:18 GMT 2016


XOP contains “Content-Type” header. Example:

BEGIN

------=_Part_1150_203811333.1471469593274
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <147146959327375771429562229 at http://www.w3.org/2001/XMLSchema>

END


--
Kit Peters
Doer of Things, ATS Integrations
D: +1 949 793 8208   M: +1 816 200 0279

On 8/17/16, 17:37, "Mark Overmeer" <mark at overmeer.net> wrote:

    * Kit Peters (Kit.Peters at broadbean.com) [160817 22:22]:
    > Similar behavior to HTTP::Request->decoded_content would be sufficient
    > to my needs. So perhaps XML::Compile::XOP::Include->decoded_content ?
    
    I cannot remember whether/how the XOP structure as information
    about its content.  If there is a line which tell the charset, we
    should fix that.
    -- 
    Regards,
    
                   MarkOv
    
    ------------------------------------------------------------------------
           Mark Overmeer MSc                                MARKOV Solutions
           Mark at Overmeer.net                          solutions at overmeer.net
    http://Mark.Overmeer.net                   http://solutions.overmeer.net
    
    



More information about the Xml-compile mailing list