Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.061.449 Times

generateDS.py for Linux 2.7b

Company: Dave Kuhlman
Date Added: July 25, 2013  |  Visits: 336

generateDS.py for Linux

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



generateDS.py 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. It also generates parsers that load an XML document into those data structures.<br /><br />The generated Python code contains:<br /><br /> * A class definition for each element defined in the XML Schema document.<br /> * A main and driver function that can be used to test the generated code.<br /> * 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.<br /> * 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).<br /><br />The generated classes contain the following:<br /><br /> * A constructor method (__init__), with member variable initializers.<br /> * 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'.<br /> * A "build" method that can be used to populate an instance of the class from a node in a minidom tree.<br /> * An "export" method that will write the instance (and any nested sub-instances) to a file object as XML text.<br /> * An "exportLiteral" method that will write the instance (and any nested sub-instances) to a file object as Python literals (text).

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: 039x039 Constructor Exportliteralthe Getx Init Initializers Instance Literal Member Method Names Nested Object Representing Setx Subinstances Variable Write
Users rating: 0/10

License: Freeware Size: 440.32 KB
USER REVIEWS
More Reviews or Write Review


GENERATEDS.PY FOR LINUX RELATED
Libraries  -  Solaris::MapDev 0.05a
Solaris::MapDev Perl module contains a map between instance numbers and device names. SYNOPSIS use Solaris::MapDev qw(inst_to_dev dev_to_inst); my $disk = inst_to_dev("sd0"); my $nfs = inst_to_dev("nfs123"); my $inst =...
24.58 KB  
Libraries  -  NetPacket::UDP 0.04
NetPacket::UDP is a Perl module to assemble and disassemble UDP (User Datagram Protocol) packets. SYNOPSIS use NetPacket::UDP; $udp_obj = NetPacket::UDP->decode($raw_pkt); $udp_pkt = NetPacket::UDP->encode($ip_obj); $udp_data =...
11.26 KB  
Libraries  -  Astro::VO::VOEvent 0.9.4
Astro::VO::VOEvent is an object interface to parse and create VOEvent messages. SYNOPSIS To parse a VOEvent file, $object = new Astro::VO::VOEvent( File => $file_name ); or $object = new Astro::VO::VOEvent( XML => $scalar ); Or to...
21.5 KB  
Libraries  -  NetPacket::TCP 0.04
NetPacket::TCP is a Perl module to assemble and disassemble TCP (Transmission Control Protocol) packets. SYNOPSIS use NetPacket::TCP; $tcp_obj = NetPacket::TCP->decode($raw_pkt); $tcp_pkt = NetPacket::TCP->encode($ip_pkt); $tcp_data =...
11.26 KB  
Libraries  -  NetPacket::IP 0.04
SYNOPSIS use NetPacket::IP; $ip_obj = NetPacket::IP->decode($raw_pkt); $ip_pkt = NetPacket::IP->encode($ip_obj); $ip_data = NetPacket::IP::strip($raw_pkt); NetPacket::IP provides a set of routines for assembling and disassembling packets...
11.26 KB  
Database Tools  -  Singleton PDO 1.0
Singleton PDO can be used to create a singleton instance of the PDO class.Singleton PDO provides a static function that stores a reference of the current object in a static variable. Next time the function is called, it returns a reference to the...
10 KB  
Programming  -  nmevent 0.3.2
This is a Python module :mod:`nmevent`, simple C#-like implementation of the Observer pattern (http://en.wikipedia.org/wiki/Observer_pattern). It's main purpose and goal is to allow developers to use events with C#-like syntax in...
81.92 KB  
Utilities  -  csvImporter 0.1.3.1
CSV importer is a tool which allow you to transform easily a csv file into a python object or a django model instance. It is based on a django-style declarative model.
10.24 KB  
Libraries  -  Astro::Aladin::LowLevel 2.0.2
Astro::Aladin::LowLevel is a Perl class designed to drive CDS Aladin Application. SYNOPSIS my $aladin = new Astro::Aladin::LowLevel( ); Drives the CDS Aladin Application through a anonymous pipe, expects the a copy of the standalone Aladin...
20.48 KB  
Libraries  -  Games::Euchre::Player 1.02
Games::Euchre::Player is a player class for Euchre card game. The four Player objects are used to interact with the humand and computer players, as well as to keep the state of the players hand, whether he bid and whether he went alone. CLASS...
21.5 KB  
NEW DOWNLOADS IN SHELL & DESKTOP, TEXT EDITORS
Shell & Desktop  -  Glunarclock 0.32.4
GNOME Lunar Clock Applet displays the current phase of the Moon as an applet for the gnome panel. In the properties box you can choose between a real image Features Pointing with the mouse at the applet...
522.24 KB  
Shell & Desktop  -  Fekete 5
Icon theme for Linux For all possible desktop, and Linux distro Special additives: Suse's Yast icons. Xfce system icons, and archaic mimetypes icons Mandriva "special placed" status icons. Libreoffice icons.
71.59 MB  
Shell & Desktop  -  XFast 0.9
XFast is a slim and lightweighted desktop environment that incorporates X and Window Manager within the same project.
1.15 MB  
Shell & Desktop  -  print selection konqueror service menu 0.1
This service menu give you a *silly* way to print fast your selection on konqueror USE select the text copy the text rigt button on the webpage select print selection a kdialog will appear paste the text
10.24 KB  
Shell & Desktop  -  Faenza 1.2
Faenza icon theme is available to install for Ubuntu users via a PPA repository. View the README file for instructions and a list of known issues.
23.49 MB  
Text Editors  -  DocBook Doclet 6.0.3
DocBook Doclet (dbdoclet) creates DocBook XML and class diagrams from Javadoc comments, converts HTML to DocBook, and transfoms DocBook XML into various output formats. It consists of a complete DocBook distribution containing schemas and the...
57.64 MB  
Text Editors  -  text-hr 0.17
text-hr is Morphological/Inflection Engine for Croatian language written in Python programming language. Includes stopwords and Part-Of-Speech tagging engine (POS tagging) based on inverse inflection algorithm for detection. Since API...
112.64 KB  
Text Editors  -  SeaScope 0.4
A pyQt GUI front-end for cscope. Written in python using pyQt, QScintilla libraries. Features: * Search features o cscope search features o Call tree for functions o Call tree for symbols ...
10.24 KB  
Text Editors  -  Val(a)IDE 0.7.1
Val(a)IDE is an IDE (Integrated Development Environment) application for the Vala programming language. Here are some key features of "Val(a)IDE": ?*A* Syntax highlighting for Vala ?*A* Project compilation
1.52 MB  
Text Editors  -  greyd 1.0
greyd is a transparent Greylist proxy for the purpose of rejecting spam send by spambot armies. The first generation of code which has been running in production for about 3 months has greatly reduced the amount of spam that needs to be processed...
10.24 KB