It's possible since CSS2, although in the long run you'd probably be happier with XSLT or a manual transform, e.g. XML::Twig.
* { display: block; } type:before { content: "Type: " } CPUID:before { content: "CPUID: " } /* etc */ intrinsic:before { content: "intrinsic name=" attr(name) ", rettype=" attr(rettype) }
In reply to Re: Can you style XMLwith CSS to display tag attributes?
by Anonymous Monk
in thread Can you style XMLwith CSS to display tag attributes?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |