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

Re: SGML output from XSL?

Subject: Re: SGML output from XSL?
From: Chris Lilley <chris@xxxxxx>
Date: Mon, 08 Feb 1999 21:05:18 +0100
sgml output

Paul Prescod wrote:
> 
> "Borden, Jonathan" wrote:
> >
> > XSL can output HTML because HTML can be made well-formed.
> 
> Not really. HTML's idea of a well-formed empty element is different from
> XML/XSL's.

HTML Voyagers idea of a well formed empty element is *exactly the same*
as XMLs, since the former is written in the latter.

XSL does not define what empty elements mean, so not sure what your
point was there.
> 
> > XSL always creates
> > well-formed documents.
> 
> In the abstract XSL always creates a well-formed document but the spec.
> leaves open the possibility that an actual get-your-hands-dirty
> implementation could generate whatever it needed: non XML SGML (i.e.
> HTML), binary goo or whatever. See the NOTE in teh middel of 2.2 .

Which (IMHO) is a bad idea. XSL should produce well formed documents.
The very syntax should be that you have to go to extrordinary lengths to
generate something that is not well formed.

If people just want to spit out random < and > all over the place and
not have any clue or any way of knowing whether the result is well
formed or not, just use perl or awk or something.

--
Chris


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.