XML::Compile::XOP::Include - Represents one XOP node.
# See also SYNOPSIS of XML::Compile::XOP my $xop = XML::Compile::XOP->new; my $xop_image = $xop->bytes($binary_image); my $answer = $call->(image => $xop_image);
Represents one data-set which will be represented as separate (binary) object during transport. This can only be used on data fields which are base64Binary.
YOU SHOULD NOT instantiate this kind of objects directly, but use the XML::Compile::XOP method to create them.
The object is overloaded to produce the contained data when a scalar is required, for instance when you call functions like "length". This means that, hopefully, the end-user does not see much of a difference between data which is transported inline or packaged separately.
Collect the data from a HTTP::Message object.
You have to specify either a
byte source. Otherwise, the constructor will return
-Option--Default bytes undef cid <required> file undef type <required> xmime <required> xop <required>
Returns the Content-ID.
Returns the content, when BYREF (boolean) is true, then the value is returned by reference.
Produce the message part which contains a normal mime representation of a binary file. You may provide an initial HEADERS (HTTP::Headers) object, or an ARRAY of headers to instantiate such an object.
Write the content to the specified FILE.
The DOCUMENT will be used to construct the node from. The PATH is an indicator for the location of the node within the data structure (used in error messages). The TAG is the prefixed name for the node to be created.
Returned is an XML node to be included in the output tree.
This object stringifies to its binary content.
This module is part of XML-Compile-SOAP distribution version 2.36, built on May 03, 2013. Website: http://perl.overmeer.net/xml-compile/
Other distributions in this suite: XML::Compile, XML::Compile::SOAP, XML::Compile::SOAP12, XML::Compile::SOAP::Daemon, XML::Compile::SOAP::WSA, XML::Compile::C14N, XML::Compile::WSS, XML::Compile::WSS::Signature, XML::Compile::Tester, XML::Compile::Cache, XML::Compile::Dumper, XML::Compile::RPC, XML::Rewrite, XML::eXistDB, and XML::LibXML::Simple.
Please post questions or ideas to the mailinglist at http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile
For live contact with other developers, visit the
#xml-compile channel on
Copyrights 2007-2013 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html