OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML Syntax/Grammar



BNF refers to the Backus-Nauer Form. XML 1.0 is described in Extended
Backus-Nauer Form (EBNF). Here is an example of EBNF from the XML
recommendation:

[3]    S    ::=    (#x20 | #x9 | #xD | #xA)+

This production means that the symbol /S/ stands for one or more occurrences
(+) of either the space (x20), the tab (x9), the linefeed (x0A), and the
carriage return (x09) characters. Whenever the /S/ shows up in the EBNF, it
represents space as described by the production [3].

See the XML recommendation [1] for a brief description of EBNF notation; see
ISO/IEC 14977 [2] for a complete description.

[1] http://www.w3.org/TR/REC-xml#sec-notation
[2] http://www.cl.cam.ac.uk/~mgk25/iso-ebnf.html

Best of luck,

Mike

-----Original Message-----
From: Xu, Mousheng (SEA) [mailto:Mousheng.Xu@sea.celltechgroup.com]
Sent: Wednesday, July 11, 2001 12:01 PM
To: xml-dev@lists.xml.org
Subject: XML Syntax/Grammar


Hi there,

What is the BNF of XML document?

Thanks.

-- Mousheng Xu


The information contained in this email is intended for the
personal and confidential use of the addressee only. It may
also be privileged information. If you are not the intended
recipient then you are hereby notified that you have received
this document in error and that any review, distribution or
copying of this document is strictly prohibited. If you have
received  this communication in error, please notify Celltech
Group immediately on:

+44 (0)1753 534655, or email 'is@celltech.co.uk'

Celltech Group plc
216 Bath Road, Slough, SL1 4EN, Berkshire, UK

Registered Office as above. Registered in England No. 2159282

------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org