I've found a neat trick, if I declare...
Code:
<?xml-stylesheet type="text/css" href="bla.css">
....in the top of an xml file I can then use a style sheet with the xml attributes as styles.
To explain, here is the xml....
Code:
<title>
hello worm
</title>
here is the bla.css
Code:
title{
font-size:14px;
}
Works wonderfully, problem is, the style sheet that is being used for the project has illegal syntax for xml, as in...
Code:
#title{
font-size:14px;
}
or
.title{
font-size:14px;
}
I get error messages if I try and format xml like...
Code:
<#title>
Hello worm
</#title>
or
<.title>
Hello worm
</.title>
Question, are those "#"'s and "."'s ( before the "title" description )really necessary in the style sheet?
Here's me thinking it would be a quick qestion
