XML Newbie - Confused


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: XML Newbie - Confused

  1. #1
    Anthony J Webster Guest

    XML Newbie - Confused


    Hi,

    I've been surfing the web for a simple xml parser to use from within my VC++6
    project and am getting very confused. I'm far from an expert in this field
    and I'm not going to do anything even vaguely ambitious with the format.
    Basically all I want to be able to do is parse a file into my project and
    then extract various values etc.. no DOM no stylesheets no nothing !! just
    a simple file along these lines:

    <?xml version="1.0"?>
    <CATALOG>
    <CD>
    <TITLE>Empire Burlesque</TITLE>
    <ARTIST>Bob Dylan</ARTIST>
    <COUNTRY>USA</COUNTRY>
    <COMPANY>Columbia</COMPANY>
    <PRICE>10.90</PRICE>
    <YEAR>1985</YEAR>
    </CD>
    </CATALOG>

    Ok..maybe a few more ramifications but that's essentially it ! I'm overwhelmed
    by the millions of sites mentionning various complex parsing systems which
    I can't even get running on my system let alone actually doing anything with.
    I beg of you - tell me where I can find a simple parser that will fit my
    previous stated needs !!!

    Hellllppp !

    Thanks
    Tony


  2. #2
    Russell Jones Guest

    Re: XML Newbie - Confused

    If you're using IE, you already have a parser you can use with VC++. See the
    msxml.dll or visit the MSDN XML Development center for details.

    If you're not, it's free. While it's not a simple parser, it is simple to
    use.

    "Anthony J Webster" <tony@transcendenz.co.uk> wrote in message
    news:3ad62f71$1@news.devx.com...
    >
    > Hi,
    >
    > I've been surfing the web for a simple xml parser to use from within my

    VC++6
    > project and am getting very confused. I'm far from an expert in this field
    > and I'm not going to do anything even vaguely ambitious with the format.
    > Basically all I want to be able to do is parse a file into my project and
    > then extract various values etc.. no DOM no stylesheets no nothing !! just
    > a simple file along these lines:
    >
    > <?xml version="1.0"?>
    > <CATALOG>
    > <CD>
    > <TITLE>Empire Burlesque</TITLE>
    > <ARTIST>Bob Dylan</ARTIST>
    > <COUNTRY>USA</COUNTRY>
    > <COMPANY>Columbia</COMPANY>
    > <PRICE>10.90</PRICE>
    > <YEAR>1985</YEAR>
    > </CD>
    > </CATALOG>
    >
    > Ok..maybe a few more ramifications but that's essentially it ! I'm

    overwhelmed
    > by the millions of sites mentionning various complex parsing systems which
    > I can't even get running on my system let alone actually doing anything

    with.
    > I beg of you - tell me where I can find a simple parser that will fit my
    > previous stated needs !!!
    >
    > Hellllppp !
    >
    > Thanks
    > Tony
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center