XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
=?UTF-8?B?UmU6IFt4bWwtZGV2XSBIb3cgdG8gZXh0ZW5kIFhNTOKAmXMgc3ludGF4?=

Interest post.  Looks horrible tho.  Glad XML got out of this business.  I like good old lexical spec and grammar spec then one of the many tools like lex and Yacc or JavaCC to generate your syntax.
You could play some tricks like parse to a DOM then have your own serializer or do what XSLT/XQuery did - embed a language within XMl

On Sun, Jul 24, 2016 at 2:24 PM, Gareth Oakes <goakes@gpsl.co> wrote:

Hi Roger,

 

The SGML Declaration is how you declare the syntax. Example for XHTML: https://www.w3.org/TR/xhtml1/DTD/xhtml1.dcl

 

// Gareth Oakes

// Chief Architect, GPSL

 

From: "Costello, Roger L." <costello@mitre.org>
Date: Monday, 25 July 2016 at 02:24
To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
Subject: RE: [xml-dev] How to extend XML’s syntax

 

Ø  SGML does this, but not XML.

 

Thanks Peter.

 

Would you (or others) provide an example of ways that SGML allows its syntax to be extended please?

 

/Roger

 

From: Peter Flynn [mailto:peter@silmaril.ie]
Sent: Sunday, July 24, 2016 11:24 AM
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] How to extend XML’s syntax

 

On 24 July 2016 16:02:55 "Costello, Roger L." <costello@mitre.org> wrote:

> Hi Folks,
> Does the XML language provide ways to extend its syntax?


No. SGML does this, but not XML.

///Peter




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS