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.218.405 Times

generateDS.py 1.10a

  Date Added: March 01, 2010  |  Visits: 681

generateDS.py

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 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. In addition, 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). The generated subclass file contains one (sub-)class definition for each data representation class. If the subclass file is used, then the parser creates instances of the subclasses (instead of creating instances of the superclasses). This enables the user to extend the subclasses with "tree walk" methods, for example, that process the contents of the XML file. The user can also generate and extend multiple subclass files which use a single, common superclass file, thus implementing a number of different processes on the same XML document type. This document explains (1) how to use generateDS.py; (2) how to use the Python code and data structures that it generates; and (3) how to modify the generated code for special purposes..

Requirements: No special requirements
Platforms: Linux
Keyword: Class Class Definitions Data Data Structures Document For Example Generated Generateds Py Markup Python Schema Text Editing Processing Xml Document Xml Schema
Users rating: 0/10

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


GENERATEDS.PY RELATED
Libraries  -  Erwin Data Structures 2.1.58633
Erwin Data Structures is a library that is meant to be the ultimate data structure library for mixed usage of C and C++. Arbitrary key and value types are implemented by template files that dont use C++ templates, but are instantiated by a Perl...
686.08 KB  
Libraries  -  Data::Dumper 2.121
Data::Dumper module contains stringified perl data structures, suitable for both printing and eval. SYNOPSIS use Data::Dumper; # simple procedural interface print Dumper($foo, $bar); # extended usage with names print...
31.74 KB  
Libraries  -  Xephyrus Data Structures Tag Library 1.5
Xephyrus Data Structures Tag Library provides an easy way to create and manipulate the contents of common Java data-structures such as maps and lists. Whats New in This Release: - The library was polished up. - Several improvements were made...
21.5 KB  
Database Tools  -  EMS Data Import 2011 for SQL Server 3.5.0.1
EMS Data Import 2011 for SQL Server is an useful application taht will help you import data to SQL Server tables from MS Excel 97-2007, MS Access, DBF, XML, RTF, TXT, CSV, MS Word 2007, ODF and HTML files. It provides adjustable import...
 
Database Tools  -  dbForge Data Compare Express for Oracle 3.0.43
dbForge Data Compare Express for Oracle is a reliable easy-to-use tool to compare and synchronize data of Oracle schemas. You can quickly analyze data differences in a well-designed user interface and synchronize the data in a convenient wizard...
 
Text Editors  -  generateDS.py for Linux 2.7b
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...
440.32 KB  
Database Tools  -  EMS Data Export 2011 for MySQL 3.4.0.6
EMS Data Export for MySQL is an efficient application that can easily export your data from MySQL databases to MS Access, HTML, XML and more. Data Export for MySQL includes a wizard which allows you to set export options for each table visually...
 
Database Tools  -  EMS Data Import 2011 for DB2 3.5.0.1
EMS Data Import for DB2 is a powerful utility that will help you import your data quickly from MS Excel, MS Access, DBF, XML, TXT and CSV files to DB2 tables. It provides adjustable import parameters, including: source data formats for all the...
 
Database Tools  -  Data Export 2011 for Oracle 3.4.0.6
Data Export for Oracle is an complete application that helps you to create MySQL database backups using SQL scripts. This database script utility allows you to save metadata of all MySQL database objects as well as MySQL table data as database...
 
Database Tools  -  EMS Data Import 2007 for PostgreSQL 3.5.0.1
EMS Data Import for PostgreSQL is a powerful tool to import data to PostgreSQL tables from MS Excel 97-2007, MS Access, DBF, XML, TXT, CSV, MS Word 2007, RTF, ODF and HTML files. It provides adjustable import parameters, including source data...
 
NEW DOWNLOADS IN LINUX SOFTWARE, UTILITIES
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB  
Utilities  -  Command Not Found 0.2.41
Command Not Found is a program that uses a cache of existing programs and their associated packages to aid users in their day-to-day command-line work. Usage: command-not-found [options] Options: ...
30.72 KB