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