Liquid XML Studio

Learn About - Liquid XML Studio 2014

Feature :

XML Sample Generator

The XML Sample generator is a tool which creates an XML document from an XML Schema (XSD). The user selects the element that will become the root node in the XML document, and the generator does the rest, creating all the child elements and attributes, populating them with valid placeholder values.

Options allow you to control the size of the generated document by forcing or restricting the creation of optional elements to a given depth in the XML document. This allows you to create minimal sample instances or comprehensive fully populated documents.

 

 

Prototyping

While designing XML Schemas it is often useful to be able to see what the resulting XML documents will look like. The XSD Schema diagrams make it clear what the structure is, but it is sometimes easier to see an example of an actual document in order to get a clear picture. The XML Sample generator takes an XSD and generates random sample XML documents based on your XSD. This allows you to quickly see any unexpected artefacts in the XML document. 

Development

When tasked with reading an XML document into an application, it is useful to have a good set of valid test cases to work from. In the early stages of a development project such examples can be thin on the ground, so being able to generate them can save hours of manual typing. Furthermore when writing XML from an application, it is useful to have a clear idea of what the XML should look like, samples make it much easier to see where the applications output differ from the test cases.

For reading and writing XML from an application see XML Data Binding

Testing

Testing an application is all about having good test cases, and good test cases need good test data. Being able to generate sample XML documents can save huge amounts of time when creating your test data, as it provides the skeletal message, making easy for meaningful test values to be inserted into the document.   

Liquid XML Prices

Liquid XML Data Binder Liquid XML Studio
Developer Bundle:  $753.92
 *Bundle Saving $220.84*

Liquid XML Studio
Liquid XML Studio
  Starter Edition:     $99.00
  Designer Edition:  $297.00

Liquid XML Data Binder
XML Data Binder:   $677.76

Full Pricing Details

Example


Generated XML Sample

This XML document was generated using the XML Sample Generator using the Bookstore.xsd, (shown below). The generator created default values based on the rules defined in the XSD in order to create an XML document that conforms to the source XML Schema.
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Liquid XML Studio -->
<bookstore xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BookStore.xsd">
    <book price="730.54" ISBN="string" publicationdate="2016-02-27">
        <title>string</title>
        <author>
            <first-name>string</first-name>
            <last-name>string</last-name>
        </author>
        <genre>string</genre>
    </book>
    <book price="6738.774" ISBN="string">
        <title>string</title>
        <author>
            <first-name>string</first-name>
            <last-name>string</last-name>
        </author>
    </book>
</bookstore>

Source XML Schema (Bookstore.xsd)

Bookstore XSD
<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio 2012 -->
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="bookstore" type="bookstoreType" />
    <xsd:complexType name="bookstoreType">
        <xsd:sequence minOccurs="0" maxOccurs="unbounded">
            <xsd:element name="book" type="bookType" />
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="bookType">
        <xsd:sequence>
            <xsd:element name="title" type="xsd:string" />
            <xsd:element name="author" type="authorName" />
            <xsd:element name="genre" type="xsd:string" minOccurs="0" />
        </xsd:sequence>
        <xsd:attribute name="price" type="xsd:decimal" use="required" />
        <xsd:attribute name="publicationdate" type="xsd:date" />
        <xsd:attribute name="ISBN" type="xsd:string" />
    </xsd:complexType>
    <xsd:complexType name="authorName">
        <xsd:sequence>
            <xsd:element name="first-name" type="xsd:string" />
            <xsd:element name="last-name" type="xsd:string" />
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>