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

RE: xsl:when element test with number

Subject: RE: xsl:when element test with number
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 16:23:23 -0400
minigml
At 03:18 PM 10/24/2003, David wrote:
> But why are you packing information into the element name anyway? That's
> what attributes are for.

perhaps but it is common all the same,
(x)html: h1 h2 h3 h4 h5
xmlspec: div1 div2 div3 div4

Common, but archaic! XML Spec probably lifts this from TEI (P3 finalized 1994); XHTML inherits it ultimately from IBM's GML (see http://www.romankoch.ch/capslock/minigml.htm for something about this).


These were systems that could not presume that element sub-classification by parentage (or even by attributes) would be at all easy in the processing layer. Of course, in XSLT this is a piece of cake.

What exactly does this fixed enumeration help with? I've heard it's nice if you're doing markup-wrangling in an editor that doesn't know how to deal with XML syntax -- and that may be so, though somehow many of us manage without -- but you pay an awfully high price for this in terms of flexibility, on several layers (user interfaces, stylesheets, complexity/adaptability of models).

Just my $0.02 worth, being spilled here on a non-XSL issue. :->

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


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.