XML Output
From CometWiki
(Difference between revisions)
		
		
 (First attempt at writing this page)  | 
		 (Building page)  | 
		||
| Line 5: | Line 5: | ||
In a way similar to [[Comma Delimited Files]], XML files may be written using a modified [[Format]] statement.  | In a way similar to [[Comma Delimited Files]], XML files may be written using a modified [[Format]] statement.  | ||
| + | |||
| + | <table cellpadding=5 cellspacing=2>  | ||
| + | <td><b>Syntax:</b>  | ||
| + | |||
| + | <td>File(LUN)XML        ! Write to this file in XML Format  | ||
| + | <tr>  | ||
| + | |||
| + | <td valign=top><b>Discussion:  | ||
| + | <td>  | ||
| + | Each XML data item is composed of a name and a value. It looks like this:  | ||
| + | '''<name>value</name>'''. When indicated by the file statement above, Comet32 will treat a format statement differently than when specifying normal data output. The section of a format specification normally used for the edit mask is now treated as the item name. The item values are blank stripped and escaped according to XML specifications.  | ||
| + | |||
| + | </td>  | ||
| + | </table>  | ||
Revision as of 21:07, 15 May 2010
Introduction
XML stands for eXtensible Markup Language.
XML is a widely used scheme that allows data to be transmitted from one application to another without regard to how the applications were written.
In a way similar to Comma Delimited Files, XML files may be written using a modified Format statement.
| Syntax: | File(LUN)XML ! Write to this file in XML Format | 
| Discussion: | 
 Each XML data item is composed of a name and a value. It looks like this: <name>value</name>. When indicated by the file statement above, Comet32 will treat a format statement differently than when specifying normal data output. The section of a format specification normally used for the edit mask is now treated as the item name. The item values are blank stripped and escaped according to XML specifications.  |