Is it possible to access the CSS-styled properties of an XML document being displayed in a browser?The element is accessible using, say, \[code\].getElementsByTagName()\[/code\]. And the browser correctly applies the CSS styling. And the debug panel (Firebug in FF, Dev Tools in Chrome) report the styles. So the data is in there somewhere. But all these return either null or undefined:\[code\]document.getElementsByTagName("pb")[1].styledocument.getElementsByTagName("pb")[1].cssdocument.getElementsByTagName("pb")[1].getAttribute('style')document.getElementsByTagName("pb")[1].getAttribute('css')\[/code\]Does the DOM not expose the styling?