Re: attributes as virtual tags

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,
> As attributes are considered child nodes of an element, this kinda makes
> sense.
> 
> This also makes some sense in a rdf framework where
> 
> <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" [...] />
> 
> is the same as
> 
> <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" [...] />

Well, I think this is a basic problem of XML: attributes, elements and
content of attributes[*] are not considered equivalent. It should not be
solved by CSS, it requires a new version of XML and everything
surrounding it (like XPath and the DOM)...

*] like in SVG: <e style="fill: foo;" /> and <e fill="foo" /> mean the same.


In the meantime I would just use XSL-T, being far more migthier than CSS
anyway, for this purpose.


- --
Pascal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRnqHuoplHwrShYbrAQr2Egf7BV2P8wK4/gIR1CfepHdITpcEHfsS/W2Y
YSBL+0q71juM84rusPWQAlISBCNLqEs05lQrQoihrMEQvsForvkuPG9ak7WuFSwc
tv6ptt+B7yETtC3zByYHvVK8vzoE6prz9dnmRRxiSxUa4DdGhrP/CUOu9+FY8RMN
iliyMXRJGQQ8AAon69f6Pn5opIcj5sC1orqrSumD0Z8DpyiMrNRK6KdhHvanhGaj
+frW4zo9dR+d+12MGG0BOwOTk8IDAwj9BFRSCS6ab39rrlNc2+Z0WpURGI/sbQol
GzU4Wt63vTjuK/XbIbEoIwa/6W7a9j16OKXAaxntho272FDbYcvjCA==
=v6qk
-----END PGP SIGNATURE-----

Received on Thursday, 21 June 2007 14:16:02 UTC