Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: XML

Thread Tools


Dennis Lee Bieber
Posts: n/a
Roman Suzi fed this fish to the penguins on Monday 23 June 2003 09:49

> OK. When I was talking about plain text, I had in mind that it
> has some proprietary format. For example, I can easily write:
> ------------------
> foo = "123"
> bar = "456"
> zoo = "la\"lala"
> ------------------
> And it's not very hard to parse that.
> In case of XML I will need something like
> <?xml version="1.0"?>
> <foo>123</foo><bar>456</bar><zoo>la&quot;lala</zoo>
> - not a big deal, but it's harder to parse. And also XML software
> keeps changing (or so it seems), and this gives a sense of
> instability.

I'm a total neophyte at XML, but for some reason I'd have turned the
example into:

<?xml version="1.0"?>

Should be much simpler to parse as you aren't dynamically creating XML
<> entities, you only have three such "assign", "name", and "value".

> ================================================== ============ <
> Removed) | Wulfraed Dennis Lee Bieber KD6MOG <
> (E-Mail Removed) | Bestiaria Support Staff <
> ================================================== ============ <
> Bestiaria Home Page: <
> Home Page: <

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
Print XML parsing to JspWriter (out) Class org.xml.sax.helpers.NewInstance can not access a member of class javax.xml.parsers.SAXParser with modifiers "protected" Per Magnus L?vold Java 0 11-15-2004 02:27 PM
embedding xml in xml as non-xml :) Mark Van Orman XML 5 09-15-2004 05:57 AM
What XML technologies to learn first for "XML Processing" and "XML Mapping"? Bomb Diggy Java 0 07-28-2004 07:26 AM
Help on including one XML document within another XML document using XML Schemas Tony Prichard XML 0 12-12-2003 03:18 PM