<? XML version = "1.0" encoding = "gb2312" ?>
< XSL: stylesheet Xmlns: XSL = "Http://www.w3.org/TR/WD-xsl" >
< XSL: Template Math = "/" >
< Html >
< Head >
< Style >
. B
{
Filter: Invert ();
}
</ Style >
</ Head >
< Body >
< H3 Align = "Center" > Use XSL: attribute and XSL: Element < HR /> </ H3 >
< Div Class = "B" >
< XSL: Element Name = "" >
< XSL: attribute Name = "Href" >
< XSL: value- Select = "X_agent/organization Homepage" />
</ XSL: attribute >
< XSL: Element Name = "IMG" >
< XSL: attribute Name = "Src" >
< XSL: value- Select = "X_agent/Organization Logo" />
</ XSL: attribute >
</ XSL: Element >
</ XSL: Element >
</ Div >
</ Body >
</ Html >
</ XSL: Template >
</ XSL: stylesheet <? XML version = "1.0" encoding = "gb2312" ?>
<? XML-stylesheet type = "text/XSL" href = "attribute. XSL" ?>
< X_agent >
< Institution name > X_agent </ Institution name >
< Organization Logo > Gw.bmp </ Organization Logo >
< Organization Homepage > Http://www.csdn.net </ Organization Homepage >
</ X_agent >