Sent by shawn allen on 14 November 2002 00:12
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>
> </foo>
>
> 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:
note:before {
content: attr(date) " - ";
}
--
shawn allen
[EMAIL-REMOVED]
phone://415.577.3961
http://alterior.net
aim://shawnpallen
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning