Next in thread → Next in month →

Re: [xml-dev] How to extend XML’s syntax

From
Jim Tivy <>
To
Gareth Oakes <>
Date
2016-07-24T21:34:44Z
ID
<>
Thread
Re: [xml-dev] How to extend XML’s syntax
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 <[email protected]> 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." <[email protected]>
Date: Monday, 25 July 2016 at 02:24
To: "[email protected]" <[email protected]>
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:[email protected]]
Sent: Sunday, July 24, 2016 11:24 AM
To: [email protected]
Subject: Re: [xml-dev] How to extend XML’s syntax

 

On 24 July 2016 16:02:55 "Costello, Roger L." <[email protected]> wrote:

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


No. SGML does this, but not XML.

///Peter


Next in thread → Next in month →