|
NAMEXML::WBXML - Convert between XML and WBXML using libwbxml2SYNOPSISuse XML::WBXML; $wbxml = XML::WBXML::xml_to_wbxml($xml); $xml = XML::WBXML::wbxml_to_xml($wbxml); DESCRIPTIONThis module is a wrapper around Aymerick Jehanne's libwbxml (or perhaps libwbxml2, I am not sure what the distinction is) library for handling Wireless Binary XML. You must install libwbxml2 prior to installing this module. The library can be found at http://libwbxml.aymerick.com/ (libwbxml2 itself requires the expat library to be installed.)The module defines two functions: "xml_to_wbxml" and "wbxml_to_xml". EXPORTSNone by default.EXPORTABLE FUNCTIONSxml_to_wbxml $xmlGiven a string containing an XML document, converts it to WBXML (version 1.2). Returns undef on errors.(As far as I can tell, the only distinction between version 1.2 and version 1.3 of WBXML is the first byte -- 0x03 in 1.3 and 0x02 in 1.2.) wbxml_to_xml $wbxmlGiven a string containing a WBXML document, converts it to XML (without extra whitespace). Returns undef on errors.DEPENDENCIESlibwbxml2, a C compiler, and (transitively) expat.INCOMPATIBILITIESNone reported.BUGS AND LIMITATIONSSee https://github.com/ivanych/XML-WBXML/issues to report and view bugs.You can also look at the bugs in old bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=XML-WBXML. AUTHOR
LICENCE AND COPYRIGHTCopyright (c) 2005, Best Practical Solutions, LLC. All rights reserved.This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTYBECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Visit the GSP FreeBSD Man Page Interface. |