[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jim Tivy <jimt@b...>
  • To: Gareth Oakes <goakes@g...>
  • Date: Sun, 24 Jul 2016 14:34:44 -0700

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@g...> 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@m...>
Date: Monday, 25 July 2016 at 02:24
To: "xml-dev@l..." <xml-dev@l...>
Subject: RE: 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@s...]
Sent: Sunday, July 24, 2016 11:24 AM
To: xml-dev@l...
Subject: Re: How to extend XML’s syntax

 

On 24 July 2016 16:02:55 "Costello, Roger L." <costello@m...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member