You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Ray Clouse <cl...@simsg1.lgb.cal.boeing.com> on 2003/01/20 18:48:39 UTC

newbie needs HELP: howto parse a single line

I've not done much with Java and never done anything with XML, and I've
looked all over for a simple example with no luck.  So please excuse my
newbieness.

My Java client opens a socket and reads the following XML data:

<wind_status><source>TOWER1</source><azimuth>052</azimuth><speed>195</speed></wind_status>
How do I parse this so I can use it?  I'm going to use the data to draw a
vector showing wind strength & direction.

-- 
------------------------------------------------------------------------
Ray Clouse
STICS Lab
ray.clouse AT boeing.com			Don't fear the penguins.
clouse AT rayclouse.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org