TechieGrl wrote:
> It's been awhile since I've been in the XML world, but before I go
> down a possibly unnecessary path, I wanted to ask about using CSS and
> XML files. Is it possible to style multiple attributes inside of
> elements using CSS?
>
> For example
>
> <NAME first="Joe" middle="Bob" last="Johnson">
>
> Can I style the first middle and last attributes using CSS or am I
> going to need to use XSL? Any other ideas someone might have would be
> appreciated.
With CSS you style elements not attributes. You can write selectors
making use of attribute values but attribute values are not rendered and
can't be styled therefore with CSS. You will need to apply XSLT to
transform attribute values to element contents that can be styled.
--
Martin Honnen
http://JavaScript.FAQTs.com/