469,336 Members | 5,385 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

XML syntax for CSS

Hello,

has anybody done or does anyone know of work being done on an
alternative XML-based syntax for CSS?

I simply have come across the desire in my daily work to access and work
with CSS stylesheets using XSLT, so I am about to implement an XML-based
CSS interface into my tools. If anyone already has come up with a
similar language (infml.: "XML vocabulary") to express CSS in XML, it
would be nice to hear about it so that I can produce exchangeable
results, if possible.

Regards, Christian.

--
Christian Roth
Email: roth (at) visualclick (dot) de
Mac.Java.Pasta.Sopranosax.Single.
Jul 20 '05 #1
3 1619
ro*********@visualclick.de (Christian Roth) wrote:
has anybody done or does anyone know of work being done on an
alternative XML-based syntax for CSS?

I simply have come across the desire in my daily work to access and work
with CSS stylesheets using XSLT, so I am about to implement an XML-based
CSS interface into my tools. If anyone already has come up with a
similar language (infml.: "XML vocabulary") to express CSS in XML, it
would be nice to hear about it so that I can produce exchangeable
results, if possible.


Well, I did this on a couple of rainy afternoons last Autumn:

http://users.tpg.com.au/karl6740/stevewaugh/

Never found a use for it though.

--
"No, you're a doctor, I'm the Doctor. The definite article."
Jul 20 '05 #2
Wolfgang Wildeblood <wo****************@yahoo.com.au> wrote:
has anybody done or does anyone know of work being done on an
alternative XML-based syntax for CSS?
[...]


Well, I did this on a couple of rainy afternoons last Autumn:

http://users.tpg.com.au/karl6740/stevewaugh/


Thank you, Wolfgang, this is a good start.

The problem for me is that it still requires being able to parse a CSS
selector to e.g. find all rulesets that anyhow apply to a certain
element, say, "par". So I'm thinking of making it even more granular for
my purposes, namely to parse out the selector structure and transform
that into (hopefully) easily query-able XML.

Regards, Christian.

--
Christian Roth
Email: roth (at) visualclick (dot) de
Mac.Java.Pasta.Sopranosax.Single.
Jul 20 '05 #3
In message <1g********************************@visualclick.de >,
Christian Roth <ro*********@visualclick.de> writes
Wolfgang Wildeblood <wo****************@yahoo.com.au> wrote:
> has anybody done or does anyone know of work being done on an
> alternative XML-based syntax for CSS?
> [...]
Well, I did this on a couple of rainy afternoons last Autumn:

http://users.tpg.com.au/karl6740/stevewaugh/


Thank you, Wolfgang, this is a good start.

The problem for me is that it still requires being able to parse a CSS
selector to e.g. find all rulesets that anyhow apply to a certain
element, say, "par". So I'm thinking of making it even more granular for
my purposes, namely to parse out the selector structure and transform
that into (hopefully) easily query-able XML.


Never tried it, but I found this once when searching around
<http://www.xstandard.com/page.asp?p=...C-20A634CB0150


--
George Lund
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

699 posts views Thread by mike420 | last post: by
22 posts views Thread by Tuang | last post: by
14 posts views Thread by Sandy Norton | last post: by
16 posts views Thread by George Sakkis | last post: by
23 posts views Thread by Carter Smith | last post: by
19 posts views Thread by Nicolas Fleury | last post: by
4 posts views Thread by Jeremy Yallop | last post: by
177 posts views Thread by C# Learner | last post: by
4 posts views Thread by Bob hotmail.com> | last post: by
3 posts views Thread by Manuel | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.