This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Designing XML for XSLT (Was: Re: newbie: xsl:key and summation of substrings)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]