|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SGML output from XSL?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








