GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WAP::WBXML (3)

.ds Aq ’

NAME

WAP::wbxml - Binarization of XML file

CONTENTS

SYNOPSIS



  use XML::DOM;
  use WAP::wbxml;

  $parser = new XML::DOM::Parser;
  $doc_xml = $parser->parsefile($infile);

  $rules = WAP::wbxml::WbRules::Load();
  $wbxml = new WAP::wbxml($rules, $publicid);
  $output = $wbxml->compile($doc_xml, $encoding);



DESCRIPTION

This module implements binarisation of XML file according the specification :

WAP - Wireless Application Protocol / Binary XML Content Format Specification / Version 1.3 WBXML (15th May 2000 Approved)

The XML input file must refere to a DTD with a public identifier.

The file WAP/wap.wbrules.xml configures this tool for all known DTD.

This module needs I18N::Charset and XML::DOM modules.

WAP Specifications, including Binary XML Content Format (WBXML)
are available on <http://www.wapforum.org/>.
new


 $wbxml = new WAP::wbxml($rules, $publicid);



Create a instance of WBinarizer for a specified kind of DTD.

If PublicId is undefined, the first found rules are used.

If the DTD is not known in the rules, default rules are used.

compile


 $output = $wbxml->compile($doc_xml, $encoding);



Compiles a XML document.

outfile


 $filename = $wbxml->outfile($infile);



Builds output filename with the good extension.

SEE ALSO

wbxmlc, WAP::SAXDriver::wbxml

COPYRIGHT

(c) 2001-2016 Francois PERRAD, France.

This program (WAP::wbxml.pm and the internal DTD of wbrules.xml) is distributed under the terms of the Artistic Licence.

The WAP Specification are copyrighted by the Wireless Application Protocol Forum Ltd. See <http://www.wapforum.org/what/copyright.htm>.

AUTHOR

Francois PERRAD, francois.perrad@gadz.org
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WAP::WBXML (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.