Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML help

0 views
Skip to first unread message

Dean Rother

unread,
May 17, 2004, 9:51:29 AM5/17/04
to
Hello,

I am trying to do some intermediate level XML processing with only an
elementary understanding of XSL and Schemas. I am getting the XML that I
have pasted below back from my mapping server and I want to display this as
a table on a web page. I have attempted to map it into the DataGrid, but
the DataGrid can't infer the schema and I can't seem to write one that it
likes. Also, I have tried XSLT, but my abilities are limited here to. If
someone has a moment, could you suggest a method that would accomplish my
goal of transforming this XML to HTML.

>>>THE XML:
<?xml version="1.0" encoding="Cp1252"?>
<ARCXML version="1.1">
<RESPONSE>
<FEATURES>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Bay City" />
<FIELD name="POPULATION" value="18667" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Blessing" />
<FIELD name="POPULATION" value="861" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Brazoria" />
<FIELD name="POPULATION" value="2787" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Markham" />
<FIELD name="POPULATION" value="1138" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Sweeny" />
<FIELD name="POPULATION" value="3624" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Van Vleck" />
<FIELD name="POPULATION" value="1411" />
</FIELDS>
</FEATURE>
<FEATURE>
<FIELDS>
<FIELD name="AREANAME" value="Wild Peach Village" />
<FIELD name="POPULATION" value="2498" />
</FIELDS>
</FEATURE>
<FEATURECOUNT count="7" hasmore="false" />
</FEATURES>
</RESPONSE>
</ARCXML>


Thank you,
Dean Rother
dean....@jfthompson.com


0 new messages