Adding a CSS stylesheet to xml
Posted: Sun Jun 04, 2017 3:25 am
I am very confused about using a css stylesheet to alter the formatting of xml in a browser. I have an xslt stylesheet, and that works fine, but the css doesn't appear to make any difference.
At the top I have <?xml-stylesheet href="text.css" type="text/css"?>. Is this wrong? The css file is called "text.css".
I know there have been posts on this before, but I've read them and can't make sense of them.
At the top I have <?xml-stylesheet href="text.css" type="text/css"?>. Is this wrong? The css file is called "text.css".
I know there have been posts on this before, but I've read them and can't make sense of them.