I have a large XML file containing programming api information. Reading it is a pain.
But it is pure XML (not HTML) and thus contains no styling, so I had the notion that if I applied a little styling I could view it in my browser instead of my editor and the <TAG>s would disappear, making it easier to read. The problem is, that much of the salient information is details in tag attributes; and that disappears with the tags once styled. Is there a solution to this that doesn't involve reformatting the whole XML document?
An example of the XML:
<intrinsic tech='MMX' rettype='__m64' name='_m_from_int64'> <type>Integer</type> <CPUID>MMX</CPUID> <category>Convert</category> <parameter varname='a' type='__int64'/> <description>Copy 64-bit integer "a" to "dst".</description> <operation> dst[63:0] := a[63:0] </operation> <instruction name='movq' form='mm, r64'/> <header>mmintrin.h</header> </intrinsic>
Specifically, is there any way to style that so that the rettype and name fields are displayed?
In reply to Can you style XMLwith CSS to display tag attributes? by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |