Re: XML PARSER

From: clintonG (csgallagher_at_REMOVETHISTEXTmetromilwaukee.com)
Date: 08/26/04


Date: Wed, 25 Aug 2004 19:20:14 -0500

Taking the data from an XML file and putting it into a database
is called 'shredding' and using Google: "shred xml" may help.

-- 
<%= Clinton Gallagher, "Twice the Results  -- Half the Cost"
         Architectural & e-Business Consulting -- Software Development
         NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
         URL http://www.metromilwaukee.com/clintongallagher/
"Peter Rilling" <peter@nospam.rilling.net> wrote in message
news:eTW%237fviEHA.1280@TK2MSFTNGP09.phx.gbl...
> Vague question but here we go.
>
> First DOM and SAX are really the only way to go and they are competing
> standards (competing in the since that they accomplish the parsing in
> different ways).  DOM basically builds a tree of the XML and allows you to
> randomly access elements and attributes.  SAX on the other hand is event
> based meaning that the engine will read an element one at a time and then
> send the element to your application for processing.  It basically
processes
> the document from front to back.
>
> What you us for a parser is really a matter of what environment you plan
to
> develop in.  If you are going to use .NET, then you will probably use its
> parser.  Microsoft also the MSXML parser that was used prior to .NET.
Their
> languages or environments may have different parsers and there are
probably
> lots of parsers out there are people tend to reinvent the wheel.
>
> XSLT is not a parser per say but is a "language" allowing you to transform
> some XML structure into something else.   XSLT is primarily used for
> presentation where you might want to turn an XML document into HTML.
>
>
>
> "andre@online.nospam" <andreonlinenospam@discussions.microsoft.com> wrote
in
> message news:FB4D368F-F74D-49CD-930C-EA7157BD14CF@microsoft.com...
> > I am working on a project where I will be getting a XML file.  What
should
> I
> > use for a parser? I'm interested in what MS has to offer with the Visual
> > studio .net platform.
> >
> > I was told DOM and SAX was what I should be looking at. Also, is XSLT a
> > parser?
> >
> > I'm going to insert the data into a database.
> >
> > Thank you,
> >
>
>


Relevant Pages

  • Re: XML parser and writer
    ... them on a calendar. ... Therefore I will need to both easily parse and write new XML files. ... why not some database technology? ... an advanced user can edit the XML file directly at ...
    (comp.lang.java.programmer)
  • Re: Special Characters not resolving
    ... starting data at the origin in an ORacle database is 2000 characters. ... When the XML isdelivered to me on disk and I load an ... Obviously I need to find either a way to have the XML file provider strip ...
    (microsoft.public.dotnet.xml)
  • Re: dynamic class instantiation
    ... I think mixing XML, ... LDF to python parser is a LOT ... This xml file is then fed into the database at the ...
    (comp.lang.python)
  • Re: XML and the Datagrid
    ... I find it, when it is in memory, exactly as good as the database, because it ... I wished that the complexity from an XML file was in a real database system. ... It is in my opinion the best thing to describe and hold data until now and I ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Word 2003 XML
    ... In essence the parser determines whether the XML provided to it, ... have much info. about the schemas associated with an XML document. ... (which is what namespaces are all about). ...
    (microsoft.public.mac.office.word)