Keep It Simple, Stupid | |
PerlMonks |
Can you style XMLwith CSS to display tag attributes?by BrowserUk (Patriarch) |
on Jun 11, 2015 at 00:13 UTC ( [id://1129955]=perlquestion: print w/replies, xml ) | Need Help?? |
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question: 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:
Specifically, is there any way to style that so that the rettype and name fields are displayed? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
Back to
Seekers of Perl Wisdom
|
|