Hi,
I'm using the XML Parser Xtra from the MM website. I'm having problems
with my XML elemnts that contain no data. For example:
<item id="1">
<description>this is something</description>
<url>http://....</url>
<links>2,4</links>
</item>
<item id="2">
<description>this is something</description>
<url>http://....</url>
<links/>
</item>
The first item will go thorough fine. The second item causes errors
because there is no text in the <links> element. The only trouble is
that I dont seam to be able to find out if there is any text within an
element becaue it will just throw up erros all the time.
I dont want to use makeList() because this gives me loads of data I dont
want which would mean I have to sort the data twice. At the moment I am
having to insert a character into the blank elements (e.g.
<links>*</links>), i dont really want to do this either. Is there a way
I can handle the blank elements without generating errors?
Thanx
JamieD
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]