LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives


XML-L Archives

XML-L Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave XML-L
Reply | Post New Message
Search Archives


Subject: Data Types
From: Ron Leach <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Tue, 4 Dec 2007 07:19:21 -0500
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (61 lines)


Hello, 

 

I am new to XML.  I need to use the double, short integer and long integer
data types.  How do I declare those?  I can declare the string data type but
I do not know how to declare a double, short integer or long integer. 

 

Below is a sample of what I am working with. 

 

<spec>

 <author name="" />

 <designation name="" />

 <acronym name="" />

 <product_scale val="0" />

<class id="1" name="CEF_Notes" >

 <polygon width="4" fg="(255,0,0)" style="SOLID" />

 <string length="5" name="Id" mask="0" default="&quot;&quot;" />

 <string length="32" name="IMG_SOURCE" mask="0" default="&quot;&quot;" />

 <string length="8" name="IMAGE_DATE" mask="0" default="&quot;&quot;" />

 <string length="20" name="LAT_DD" mask="0" default="&quot;&quot;" />

 <string length="20" name="LON_DD" mask="0" default="&quot;&quot;" />

 <string length="5" name="FEATURE" mask="0" default="&quot;&quot;" />

 <domain type="enum" name="ATTRIBUTE" mask="0" >

 <member value="0" name="SHORELINE Man-made.Bulkhead Or Sea Wall" />

 <member value="1" name="SHORELINE Man-made.Bulkhead Or Sea Wall.Ruins" />

 <member value="2" name="SHORELINE Man-made.Canal.Navigable" />

</domain> 

</class>

</spec>   

 

Thanks in advance.

 

Ron

Back to: Top of Message | Previous Page | Main XML-L Page

Permalink



LISTSERV.HEANET.IE

CataList Email List Search Powered by the LISTSERV Email List Manager