Why a parser? And the difference between SGML and XML

What is the need for parser? What is the difference between SGML and XML?
An XML document has defined elements and attributes. A parser exposes them to your application so you don't need to write code to break scan the tags and retrieve individual attributes.

WhatIs.com SGML defines SGML this way:

SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. Such a specification is itself a document type definition (DTD). SGML is not in itself a document language, but a description of how to specify one. It is metadata.
XML, like HTML, is a SGML-based language. XML is extensible because the markup symbols are unlimited and self-defining.
This was last published in April 2004

Dig Deeper on XML and Web Services for Lotus Notes Domino

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...