quoth Bob Sawyer:
> OK... I have this XML file, see? And I want to be able to display the
> content of various selector attributes, such as:
> <foo lastupdated="March 10, 2002">
> <note date="March 10, 2002">This is some foo.</note>
> <note date="March 2, 2002">This is more foo.</note>
> I would like this to display as such:
> Last updated: March 10, 2002
> * March 10, 2002 - This is some foo.
> * March 2, 2002 - This is more foo.
> I have the text of <foo> displaying as a list-item, without the date. I have
> also been successful in getting "Last updated: " to appear, but not the
> date. How do I get the dates (or any attribute content) to be visible?
This should work:
content: attr(date) " - ";
Sponsored by www.westciv.com - CSS resources | software | learning