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

Re: More XSL Discussion

Subject: Re: More XSL Discussion
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Tue, 24 Feb 1998 07:36:10 -0500
Re: More XSL Discussion
Jeremie Miller wrote:
> 
> ==> Eliminating the style rules and replacing them with a <style></style>
> container within any rule?  If containers are used within rules, this just
> seems like a more appropriate place to do this, instead of duplicating a
> whole seperate rule structure just for applying style characteristics to
> elements.

A style rule is very different semantically, and should probably be
quite different syntactically.
 
> ==> Attributes on the containers within a rule.  The issue so far is that
> having the attributes determine the format/type of content within the
> continer isn't valid XML.  Why not use CDATA as the content type for the
> containers? Even though I know it is kind of a kludge and defeats the
> purpose, I'd like to see some good reasoning on wether this would be
> plausable.

No. XML does not have CDATA declared element content.
 
> Even if it is determined that having the containers be CDATA wouldn't
> work, then why not have various containers?  Maybe instead of:
>   <style format="xml"><color>red</color></style>
> and
>   <style format="css">color:red;</style>
> You could just have:
>   <style><color>red</color></style>
> and
>   <css>color:red;</css>

This would work, I guess, but the convention in both HTML and other
forms of SGML is to use attributes to express notations.
 
> ==> A Raw HTML container.  Either:
>   <action format="html">RAW HTML</action>

This won't fly. There is no way to express it in XML, and besides we
probably want to encourage people to move to well-formed HTML.

Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

[Woody Allen on Hollywood in "Annie Hall"]
Annie: "It's so clean down here."
Woody: "That's because they don't throw their garbage away. They make 
        it into television shows."


 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.