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

Re: Designing XML for XSLT (Was: Re: newbie: xsl:key a

Subject: Re: Designing XML for XSLT (Was: Re: newbie: xsl:key and summation of substrings)
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Tue, 11 Dec 2001 11:14:49 +2400
designing xsl
At Monday, 10 December 2001, Jeni wrote:

>Does anyone know of a set of guidelines for designing markup languages
>for processing with XSLT? 

Not specifically for XSLT, but Eve's book on DTD design has
lots of good suggestions.

>If not, it could be a useful resource to put
>together somewhere. Things like:
>
> - keep numbers and units separate
> - be consistent in case use in attribute/element values
> - use namespaces to embed HTML in XML, not CDATA sections
>
>Any others?

Store dates in ISO format (or provide an attribute to do this).
Put categorical data in attributes, not in character data content.

Umm. This would certainly be a good resource.

-- 
///Peter








 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.