- From: Noah Scales <noahjscales@yahoo.com>
- Date: Sat, 10 Dec 2005 14:03:26 -0800 (PST)
- To: www-style@w3.org
Hello. To create xml mark-up intended specifically to describe what I want to display, I would like to be able to do the following: xml_element[xml_attribute] {css_attribute:xml_attribute_value;} For example: my-webpage-header {display:block;} my-webpage-header[height] {height:page-header.height.value;} Right now, I have to do the following: my-webpage-header[height=100] {height:100px;} ... my-webpage-header[height=52] {height:52px;} ... my-webpage-header[height=22] {height:22px;} ... my-webpage-header[height=10] {height:10px;} To get a value from xml into a CSS attribute-value pair, you have to add lots of rows to your CSS file. If there were a way, within CSS, to specify that an xml value belonging to an attribute of some xml element should be the value of a CSS attribute, that would be great. Let CSS get a url value from an xml attribute's value, and create links that way, instead of in XHTML. This would let me create complete web-pages using a custom tag set that's particular to the type of web-page that I'm building. From my limited expressions of the semantics of my writing, the scripting of what I'm designing for a web browser is best described with a custom tag-set, whether I'm designing knowledge or a graphical display. Using classes with xhtml is a choice to mark-up a graphical display that I design, but it's no fun. <a href="./webpage.htm" class="breadcrumb">webpage</a> seems less expressive than <breadcrumb myurl="./webpage.htm">webpage</breadcrumb> don't you think? -Noah Scales --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-1891871892-1134252206=:12521 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <div id="RTEContent">Hello.<br> <br> To create xml mark-up intended specifically to describe what I want to display,<br> I would like to be able to do the following:<br> <br> xml_element[xml_attribute] {css_attribute:xml_attribute_value;}<br> <br> For example:<br> <br> my-webpage-header {display:block;}<br> my-webpage-header[height] {height:page-header.height.value;}<br> <br> Right now, I have to do the following:<br> <br> my-webpage-header[height=100] {height:100px;}<br> ...<br> my-webpage-header[height=52] {height:52px;}<br> ...<br> my-webpage-header[height=22] {height:22px;}<br> ...<br> my-webpage-header[height=10] {height:10px;}<br> <br> To get a value from xml into a CSS attribute-value pair, you have to add lots of rows to your CSS file. If there were a way, within CSS, to specify that an xml value belonging to an attribute of some xml element should be the value of a CSS attribute, that would be great. Let CSS get a url value from an xml attribute's value, and create links that way, instead of in XHTML. This would let me create complete web-pages using a custom tag set that's particular to the type of web-page that I'm building.<br> <br> From my limited expressions of the semantics of my writing, the scripting of what I'm designing for a web browser is best described with a custom tag-set, whether I'm designing knowledge or a graphical display. Using classes with xhtml is a choice to mark-up a graphical display that I design, but it's no fun.<br> <br> <a href="./webpage.htm" class="breadcrumb">webpage</a><br> <br> seems less expressive than<br> <br> <breadcrumb myurl="./webpage.htm">webpage</breadcrumb><br> <br> don't you think?<br> <br> -Noah Scales</div><p> <hr size=1>Yahoo! Shopping<br> Find Great Deals on Holiday Gifts at <a href="http://us.rd.yahoo.com/mail_us/footer/shopping/*http://shopping.yahoo.com/;_ylc=X3oDMTE2bzVzaHJtBF9TAzk1OTQ5NjM2BHNlYwNtYWlsdGFnBHNsawNob2xpZGF5LTA1 ">Yahoo! Shopping</a> --0-1891871892-1134252206=:12521--
Received on Sunday, 11 December 2005 12:09:14 UTC