XML Tools scripts - Top 4 Download

XML Tools script downloads

Php XPath

Php.XPath is a php class for searching an XML document using XPath, and making modifications using a DOM style API. Does not require the DOM XML PHP library. ...

phpXIedit

phpXIedit is a web based application to edit, validate and preview XML documents. This program gives you a structured view of the XML data. It has support for multiple XML formats: SVG, DocBook, XHTML and more. phpXIedit is written in PHP. ...

phpXMLDOM

phpXMLDOM (phpXD) is an XML DOM-Implementation for PHP, written in PHP. It offers methods for accessing the nodes of an XML document using the W3C Document Object Model (DOM) Level 2 Core. phpXMLDOM does not require the PHP DOM XML extension. ...

Remove whitespace from an XML DOM

When creating a DOM from an XML source, XML parsers are required to consider several conditions when deciding whether to include whitespace-only text nodes. This function ignores all of those conditions and removes all whitespace-only text descendants of the specified node. If the unlink flag is specified, the removed text nodes ...
Python

RLIB

RLIB is a report generator. By providing queries and XML Report definition files(headers, footers, breaks, columns, variables, expressions, presentation information) it produces reports. ...

Simple XML serlializer de serializer

This script presents a way of serializing & de-serializing XML using the marshal module. The XML is converted to an equivalent Python dictionary first, which is marshaled to serialize it. De-serialization first unmarshals the dictionary from the file, and constructs the original XML. ...
Python

Support for the in operator

This script adds support for the "in" operator to the attributes map of minidom elements. When you parse XML using minidom, you can get a map of attributes for any element. The problem is that using the "in" operator on this map will raise an exception and this script will fix ...
Python

Using the SAX2 LexicalHandler Interface

This code shows how to use the relatively unknown LexicalHandler interface, which is an extension to the standard SAX2 interfaces like ContentHandler. ...
Python

Validating XML with External DTDs using xmlproc

PyXML is a useful package for parsing XML. The xmlval and xmldtd modules let you validate XML docs against an external DTD file. This is a simple, straightforward script that illustrates how to use the xmlval and xmldtd modules for validated XML parsing. ...
Python

XML as Dictionary

This script uses two simple classes to provide the mechanism for XML conversion. ...
Python

XML Check

This class implements methods to check if a URL or file is well-formed XML. If not the class supplies methods to return the error message, line number and column number. If the source is well-formed the class provides methods to return the number of elements, attributes, text_sections, size of text sections ...

XML Lexing

Sometimes you want to work more with the form of an XML document than with the structural information it contains. For instance if you wanted to change a bunch of entity references or element names. Also, sometimes you have slightly incorrect XML that a traditional parser will choke on. In that ...
Python

xml parser and generator

Sometimes one needs a quick and dirty solution for parsing and generating xml. This script uses only the python parser itself for the parsing of xml. xml code is translated to valid python code and then evaluated. The generated objects can then be manipluated within python itself and treated as regular python ...
Python

XML PullParser

XML_PullParser moves the API of the PHP XML facility from an event-based model to a token-based model.Instead of processing data passed from the parser to callbacks, scripts work with "tokens", which are arrays representing XML structures. ...

XML to PDF Converter

XML to PDF Converter is a small library in PHP to convert XML documents to PDF. You can instantly create PDF documents using this tool. ...

xml2obj

xml2obj is a generic script that allows you to convert xml into objects. ...
Python

XMLConfigReader

XMLConfigReader reads resource text data directly from a XML file and store it on a bidimensional array. The first dimension keys are taken from the value of the id attribute of the item elements. The second dimension array keys are taken from the names of the sub-items tags. The values are ...

xmlreader

This script reads an xml file into a python dictionary of dictionaries (repeated elements are read in as lists). It works with repeating elements without having to specify the multiple attribute. ...
Python

XMLUnit

XMLUnit extends JUnit and NUnit to enable unit testing of XML. It compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions. XMLUnit for Java provides two JUnit extension classes, XMLAssert and XMLTestCase, and a set of ...