Groups | Blog | Home
all groups > flash data integration > december 2005 >

flash data integration : Reading XML into a DataSet


Dana Pellerin
12/27/2005 8:45:17 PM
Ok, I posted this before, but I'm going to restate my question in order to
hopefully make it clearer. I have the following XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<data>
<item url="/E56DE43EB12.htm" headline="Test Headline 1">ED Moved</item>
<item url="/B0174201BFA.htm" headline="Test Headline 2">CyberKnife</item>
</data>

I want to read this XML into a DataSet using an XMLConnector. I can get the
'url' and 'headline' attribute values with no problem. But how on earth do I
get the text that lies between the <item> tags? In other words, how do I access
the values "ED Moved" and "Cyberknife" in this example???

Thanks

Dana
bwalk981
1/11/2006 7:59:24 PM
I'm just learning about binding myself, but I managed to get mine to work by
organizing the xml (as seen below) and then creating separate binds to the
specific elements. I can send you a very basic example if you email me
directly, bwalke13@jhmi.edu. Good luck!
ie.
<data>
<item>
<url>"/E56DE43EB12.htm"</url>
<headline>"Test Headline 1"</headline>
<text>ED Moved</text>
</item>
<item>...</item>
</data>
AddThis Social Bookmark Button