XML/CSS Style/content
Версия от 18:22, 25 мая 2010; (обсуждение)
Gif image as content
File: Data.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="Style.css"?>
<data>
<PROJECT>
<PROJECTTITLE>title</PROJECTTITLE>
<DEVELOPER>developer</DEVELOPER>
</PROJECT>
<PROJECT>
<PROJECTTITLE>title 2</PROJECTTITLE>
<DEVELOPER>developer 2</DEVELOPER>
</PROJECT>
</dagta>
File: Style.css
DEVELOPER:after {
content: url("blueball.gif");
display: block
}
PROJECTTITLE {
display: block
}