>
>>I have seen a thing like 'Stroke' appear in all three
>>places::CSS/class, attribute and style and they all have different value.
>>Really I don't know which one is the author's intention.
there might be a reason for that. for example, lets say you have an
xml-file you want to turn into svg.
so lets say there is a rectangle element in that file.
so it looks like this:
<recangle/>
and we turn this recangle into a green <rect/> with fixed dimensions
using the language of your choice may it be js,asp,php,xslt or whatever.
so the output looks like this:
<rect x="0" y="0" width="100" height="100" fill="green"/>
this is our default rect. now assume that the <rectangle/> is styleable.
so a user can write something like this
<rectangle style="fill:red"/>
so in our implementation of the <rectangle/> element we just copy the
style attribute to the resulting rect; so the resulting element looks
like this:
<rect x="0" y="0" width="100" height="100" fill="green" style="fill:red"/>
so this is the users default rect. now lets say the user alows other
users to use a custom stylesheet on that resulting page.
and the user-stylesheet may look like this:
rect {fill:blue !important}
so you have a blue rect. if you disable the stylesheet, the rect will be
filled red, and if you disable all css, the rect is green.
so the essence is that there might be different authors of one file with
different intentions.
hth
Holger
--
if this information was usefull, please try to help someone else !
My Private Homepage: http://www.treebuilder.de
My Companys Website: http://www.klimapartner-berlin.de
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/