Web文档对象模型.ppt

Web文档对象模型

创建超链接(1) 假设 XML contains(包含) nameDr. Daves Home Page/name url/~matuszek/url xsl:attribute name=“...” adds the named attribute to the enclosing tag(封闭的标记中) The value of the attribute is the content of this tag 示例代码: a xsl:attribute name=href xsl:value-of select=url/ /xsl:attribute xsl:value-of select=name/ /a 结果: a href=/~matuszek Dr. Daves Home Page/a 创建超链接(2) 假设 XML contains(包含) nameDr. Daves Home Page/name url/~matuszek/url An attribute value template (AVT) consists of braces { } inside the attribut

文档评论(0)

1亿VIP精品文档

相关文档