Using Key=Value Characters

The Key=Value Character Region property allows you to set the separator for key=value pairs as seen in the input file. When Stylus Studio converts an input file to XML, it uses the value on the left side of the key=value character for the element name, and the value on the right for the element value. Consider the following input file:

Triumph Inventory,Year and Quantity
               
Yr2003=24
               
Yr2004=12
               
Yr2005=15
               

            

If you set the Key=Value Character property to =, Stylus Studio creates the following XML document when you preview the custom XML conversion:

<?xml version="1.0" encoding="utf-8"?>
               
<root>
               
	<row>
               
		<field>Triumph Inventory</field>
               
		<field>Year and Quantity</field>
               
	</row>
               
	<row>
               
		<Yr2003>24</Yr2003>
               
	</row>
               
	<row>
               
		<Yr2004>12</Yr2004>
               
	</row>
               
	<row>
               
		<Yr2005>15</Yr2005>
               
	</row>
               
</root>
               

            

XML Box Office Blockbusters

Browse a list of the season's biggest block-buster XML video demonstrations, now playing at the Stylus Studio movie theater - Free Admission!

Multi Channel Publishing

Multi channel publishing lets you go beyond single-source publishing of HTML and PDF to also generate simultaneously for non-document forms, such as to communicate with partners or drive spreadsheets.

XML Notepad

XML Notepad simplifies building of XML applications, allowing authors to rapidly build and edit their XML files. With XML Notepad, you can create XML document prototypes quickly, easily, using an intuitive graphical interface.

Data Integration - DataDirect XML Converters

DataDirect XML Converters are high-performance Java components which provide bi-directional, programmatic access to virtually any data source as XML.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.