    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: Introduction to XML and C++</title>
        <link>https://members.accu.org/index.php/articles/1171</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>




<div class="xar-mod-head"><span class="xar-mod-title">Programming Topics + CVu Journal Vol 14, #3 - Jun 2002</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c13/">Topics</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c65/">Programming</a>
<br />

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c114/">143</a>
<br />

                                            <a href="https://members.accu.org/index.php/articles/c65-114/">Any of these categories</a>

                    -                        <a href="https://members.accu.org/index.php/articles/c65+114/">All of these categories</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;Introduction to XML and C++</h1>
<p><strong>Author:</strong>&nbsp;</p>
<p>
<strong>Date:</strong> 03 June 2002 13:15:52 +01:00 or Mon, 03 June 2002 13:15:52 +01:00</p>
<p><strong>Summary:</strong>&nbsp;</p>
<p><strong>Body:</strong>&nbsp;<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e20" id="d0e20"></a></h2>
</div>
<p>Over the last few years a growing number of applications and
services have been using a type of text mark-up known as XML. The
structure of XML, and the timing of its introduction, made it a
perfect match for the new (at that time) and fast growing language
Java. However, its use in C++ has lagged behind somewhat, and this
series of articles is aimed at redressing the balance a little.</p>
<p>The aim of the series will be, firstly, to give some background
to what XML is and when to use it, secondly to give some guidance
on using the main parsers in C++ code, and finally, some advanced
techniques in parsing XML files.</p>
<p>The roots of XML can be traced back to the 1980's, to a mark-up
language called SGML (the Standard Generalized Markup Language)
that was created by IBM. This was, in turn, based upon the GML, an
earlier mark-up language. In 1986 the ISO standards committee
adopted SGML as a standard.</p>
<p>SGML is big, powerful and complex to learn. It was also widely
used for marking up documents that needed to be interoperable
between different systems. When a standard document definition
format was needed for Web pages, it was natural to base it upon
SGML, and so a vastly simpler subset of SGML was created called
HTML. This was easy to learn and this ease contributed greatly to
the growth of the Web.</p>
<p>But HTML has many drawbacks, not the least that different
browser writers tended to interpret it in their own way. Other
drawbacks are that HTML mixes content and the display of content
and that there is no way of extending the language except through a
standards process.</p>
<p>So work was started in 1996 on another mark-up language that
would combine the power of SGML with the simplicity of HTML. It
should be easily extendable, efficient to parse and simple for
programmers to use in applications. It would be platform and
language independent. In Feb. 1998 World Wide Web Consortium (W3C)
made it a Recommendation.</p>
<p>It is known as XML, the eXtensible Markup Language.</p>
<p>Not only was it a simpler version of SGML, XML has formed the
basis for a family of related technologies and protocols that
increase its power tremendously:</p>
<div class="itemizedlist">
<ul type="disc">
<li>
<p>XLink describes ways to add hyperlinks to XML</p>
</li>
<li>
<p>XPath describes a path to a particular point within an XML
document.</p>
</li>
<li>
<p>XPointer builds on XPath to point to parts or ranges of an XML
document</p>
</li>
<li>
<p>XSL is a stylesheet language that specifies how the different
elements in an XML doc are to be displayed.</p>
</li>
<li>
<p>XSLT, XSL Transformations, provides a powerful way of
transforming an XML doc into different formats</p>
</li>
<li>
<p>XMLSchemas are a way to specify what is valid or not within a
document.</p>
</li>
<li>
<p>DOM, the Document Object Model, is a standard object model of an
XML document with a standard API.</p>
</li>
<li>
<p>CSS is a style sheet language, widely used on the Web, which can
also be used to define how an XML document can be displayed.</p>
</li>
</ul>
</div>
<p>XML allows a document definition (DTD or XML Schema) to describe
the semantics of the XML, and so many different applications of XML
have appeared, such as RTF, XUL, MathML and XHTML, each oriented
towards a particular domain of application.</p>
<p>XML is not the right thing for all occasions. It is not an
object database replacement. It is not a programming language. It
is probably overkill for writing letters to your mother. But, as a
backend document format it is very powerful and increasingly widely
used.</p>
<p>That said, this article still had to be written in Microsoft
Word format.</p>
</div>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
