[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

=?UTF-8?B?UmU6IFt4bWwtZGV2XSBIb3cgdG8gZXh0ZW5kIFhNTOKAmXMgc3ludGF4?=

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

=?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: 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: 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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.