generateDS icon

generateDS For Mac

  n/a
Certified 100% FREE MIT License   

Enables you to add methods to subclasses for processing XML documents content, as well as to generate data structures from XML schemas. #Data structure generator  #Generate data structure  #Generate parser  #Generator  #Generate  #XML  

Description

changelog

Free Download

generateDS generates Python data structures (for example, class definitions) from an XML Schema document. These data structures represent the elements in an XML document described by the XML Schema.

generateDS is also able to generate parsers that load an XML document in the data structures.

A separate file containing subclasses (stubs) is optionally generated. The user can add methods to the subclasses in order to process the contents of an XML document.

The generated Python code contains: · A class definition for each element defined in the XML Schema document. · A main and driver function that can be used to test the generated code. · A parser that will read an XML document which satisfies the XML Schema from which the parser was generated. The parser creates and populates a tree structure of instances of the generated Python classes. · Methods in each class to export the instance back out to XML (method export) and to export the instance to a literal representing the Python data structure (method exportLiteral).

The generated classes contain the following: · A constructor method (__init__), with member variable initializers. · Methods with names 'getX' and 'setX' for each member variable 'X' or, if the member variable is defined with maxOccurs="unbounded", methods with names 'getX', 'setX', 'addX', and 'insertX'. · A "build" method that can be used to populate an instance of the class from a node in a minidom tree. · An "export" method that will write the instance (and any nested sub-instances) to a file object as XML text. · An "exportLiteral" method that will write the instance (and any nested sub-instances) to a file object as Python literals (text).

System requirements

What's new in generateDS 2.15a Beta:

  • Modifications so that we generate code that can be used by Python 3.
  • Thanks much to Richard Gerkin for this work.
  • Removed possible use of ElementTree. Lxml is now a requirement for both running generateDS.py itself and for running the generated code.
  • Fixed exporting of text content so that, when it contains CDATA sections, the mark-up characters inside the CDATA sections are not escaped. Thanks to George David for reporting this and for helping with a fix.
Read the full changelog

generateDS 2.15a Beta

add to watchlist add to download basket send us an update REPORT
  runs on:
Mac OS X (-)
  file size:
622 KB
  1 screenshot:
generateDS - Usage screen for the application that appears when running it from a Terminal window.
  main category:
Developer Tools
  developer:
  visit homepage

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

paint.net

Packed with an array of options and an intuitive interface, this application enables you to create professional-looking photographs
paint.net

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

% discount
paint.net
  • paint.net
  • calibre
  • 7-Zip
  • Bitdefender Antivirus Free
  • ShareX
  • Microsoft Teams
  • Zoom Client
  • IrfanView
  • 4k Video Downloader
  • Windows Sandbox Launcher
essentials


User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy