xmlbeansxx is an open source C++ library easing the processing of XML data. It is very similar to and in fact was inspired by Apache XMLBeans. The goal is to have the same functionalities and interfaces of XMLBeans.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 8 commits behind rafalrusin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.Linux

======= Linux users =========

I. What you need.

 --- REQURED ---
 a) cmake  
    http://www.cmake.org/
    http://www.cmake.org/HTML/Download.html
    
    or 
    
    Autotools (GNU Build System) - RECOMMENDED
    http://www.gnu.org/software/autoconf/
    http://www.gnu.org/software/automake/
  
    
 b) maven
    http://maven.apache.org/

 c) Boost C++ Libraries 
    http://www.boost.org/
    
 d) Xerces C++ Parser 
    http://xerces.apache.org/xerces-c/
 
 e) CppUnit - C++ port of JUnit - (required for testing)
    http://cppunit.sourceforge.net/
 
 --- not required but recommended ---
 
 f) log4cxx (it is required for debuging)
    http://logging.apache.org/log4cxx/index.html

 g) gmp, gmpxx 
    http://swox.com/gmp/
 
 h) libxml2 
    http://xmlsoft.org/
 


II. Installing deps.

 1. Ubuntu 9.04:
    #apt-get install liblog4cxx10-dev libcppunit-dev libxerces-c2-dev libboost-dev autotools-dev automake cmake
 


III. How to build and install.

  1. with Autotools
  run:
    ./bootstrap
    ./configure
    make 
    make check
    make install
    
  2. with cmake
    run:
    ./cbootstrap
    cd build
    make 
    make test
    make install
    
  
  
IV. precision of xsd:decimal numbers.

To increase the precision of decimal numbers use:
 xmlbeansxx::TextUtils::setPrecision(int precision);
if you use gmpxx the precision can by very large.