in reply to Can you style XMLwith CSS to display tag attributes?
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) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can you style XMLwith CSS to display tag attributes? [Solved]
by BrowserUk (Patriarch) on Jun 11, 2015 at 02:02 UTC | |
by CountZero (Bishop) on Jun 11, 2015 at 06:35 UTC | |
by BrowserUk (Patriarch) on Jun 11, 2015 at 08:13 UTC |