[Home] [By Thread] [By Date] [Recent Entries]


Oh heck, can't I just remain a cryptic smartass?  It's less typing.
 
Example:
 
<rect x="10" y="10" width="50" height="30" style="stroke: black; fill:
none;"/>
 
The style attribute contains structured content. This means in addition to
an XML parser, there has to be a stylesheet parser.  The following is nearly
equivalent:
 
<rect x="10" y="10" width="50" height="30" stroke="black" fill="none"/>
 
and is, in fact, allowed by SVG.  I say "nearly" because stylesheet
attributes trump XML attributes in some cases, so they're not quite
equivalent. I'm also told that the former example is processed faster,
athough I can't fathom why that would be.
 
In the end, I guess it boils down to what's considered 'atomic' according to
the logical data model of the business. So I was being somewhat malicious in
my remarks. 
 
I'm so ashamed. I'll take a timeout in the corner of my office to think
about what I've done.


Jeff,

Would you care to express less cryptically your precise point?

Thanks

Andrew Watt 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member