Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: What is XML - and ....

Reply
Thread Tools

Re: What is XML - and ....

 
 
Joe Kesselman
Guest
Posts: n/a
 
      08-07-2012
XML a standard for raw syntax. It isn't a markup language; it's a shared
base for many markup languages, to facilitate writing tools which can be
reused across many or all of them.

In other words, it occupies much the same niche that SGML did. (HTML is
an SGML-syntax markup language.) You can think of XML as a modernized,
replacement for SGML -- sort of a "RISC" SGML, trimmed down to the
essentials and cleaned up for today's needs.


For your task of importing of the XML version of the Bible, what one
would normally do is grab one of the many XML parsers on the market
which deal with all the details of properly reading and interpreting the
syntax, and present the output either as an event stream (SAX) or an
in-memory data model (DOM). Then all you'd have to write is the code
which interprets the SAX events, or walks the DOM tree, selecting from
that the information you want to copy into your database.


For details beyond that, I'm going to hand you my standard pointer to
IBM's developerWorks site (http://www.ibm.com/developerworks/xml/),
where you will find many tutorials and articles ranging from basic to
expert. At the very least, that will give you enough background to ask
useful questions.

Welcome to the 21st century!

--
Joe Kesselman,
http://www.love-song-productions.com...lam/index.html

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."
 
Reply With Quote
 
 
 
 
Joe Kesselman
Guest
Posts: n/a
 
      08-07-2012
Oh, one other note: If you want to know more about what the markup in
your XML document actually _means_, you need to find out which XML-based
language was used. There may be comments, or a DTD (Document Type
Description) reference, or a Schema reference, at the top of the
document which will point you in the right direction to find more
information. If you aren't sure, ask whoever/wherever you got that
document from.

(BTW, note that some of the other great religious works of the world are
also available as XML documents; these were early test files for XML tools.)


--
Joe Kesselman,
http://www.love-song-productions.com...lam/index.html

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."
 
Reply With Quote
 
 
 
Reply

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
ElementTree.XML(string XML) and ElementTree.fromstring(string XML)not working Kee Nethery Python 12 06-27-2009 06:06 AM
[Announce] Stylus Studio 2007 XML Enterprise Suite Released: XML Pipeline, XML Publishing and Data Conversion API's stylusstudio@gmail.com Java 0 09-26-2006 05:04 PM
[ANN] Stylus Studio 2007 XML Enterprise Suite Released: XML Pipeline, XML Publishing and Data Conversion API's Stylus Studio XML 0 09-26-2006 04:49 PM
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
What XML technologies to learn first for "XML Processing" and "XML Mapping"? Bomb Diggy Java 0 07-28-2004 07:26 AM



Advertisments