Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Development Tools > XML Tools

    xmlwitch 0.2.1

    download button


    Downloads: 169  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Jonas Galvez | More scripts
    jonasgalvez.com.br
    BSD License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Python
    March 14th, 2011, 08:27 GMT
    C: \ Development Tools \ XML Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    xmlwitch description

    This is a Python library that generates idiomatic XML code through context managers

    xmlwitch has two classes: Builder and Element.

    Builder takes three parameters:
    encoding, which is required and defaulted to UTF-8;
    version, whose optional presence adds a <?xml?> processing instruction at the top of the document;
    indent, which determines the white-space string used to indent the document tree (defaulted to two spaces).

    xmlwitch currently only generates human-readable XML documents, with linebreaks and indentation.

    Namespaced elements can be created by using square brackets.

    It is a minimalist implementation, written in less than 100 lines of code.

    Requirements:

    · Python 2.5 or higher



    TAGS:

    generate XML | context manager | render source | generate | XML | code

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM