Convert XML to HTML(XML 转换 HTML)(2)
来源:互联网 发布:九三年 雨果 知乎 编辑:程序博客网 时间:2024/05/15 01:29
这篇文章是针对我前面那篇博文的解释! 是我从W3C翻译过来的,我的翻译水平和写作水平有待提高~
中文版:
<xsl:stylesheet> 是根节点,它声明这个文档是个 XSL样式表
格式:<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template>定义了一个模板,match="/" 属性把源XML文档和模板关联
<xsl:for-each> 可以被用来循环得到指定的XML节点
<xsl:value> 可以用来得到指定节点的值,并且可以输出
<xsl:value select="@type">用来得到XML文档的节点的属性值,并且输入
格式:<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template>定义了一个模板,match="/" 属性把源XML文档和模板关联
<xsl:for-each> 可以被用来循环得到指定的XML节点
<xsl:value> 可以用来得到指定节点的值,并且可以输出
<xsl:value select="@type">用来得到XML文档的节点的属性值,并且输入
English Edition:
The<xsl:stylesheet>The root element that declares the document to be an XSL style sheet
Format:<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
The<xsl:template> element defines a template. The match="/" attribute associates the template with the root of the XML source document.
The XSL <xsl:for-each> element can be used to select every XML element of a specified node-set
The <xsl:value-of> element can be used to extract the value of an XML element and add it to the output stream of the transformation
Format:<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
The<xsl:template> element defines a template. The match="/" attribute associates the template with the root of the XML source document.
The XSL <xsl:for-each> element can be used to select every XML element of a specified node-set
The <xsl:value-of> element can be used to extract the value of an XML element and add it to the output stream of the transformation
给出我前面一篇博文的链接
(The Link about my previous blog)
http://blog.csdn.net/wangzi041/archive/2008/09/05/2885925.aspx(convert xml to html)
- Convert XML to HTML(XML 转换 HTML)(2)
- Convert XML to HTML(XML 转换 HTML)(1)
- href of python convert HTML to XML
- XSL+XML TO HTML
- XML TO HTML(上)
- XML转换成HTML
- xml特殊字符to html
- XML转换显示格式(html)
- XML、XSL转换输出HTML
- JTidy转换html到xml
- 将HTML转换成XML
- xml+xsl转换为html
- Convert HTML to PDF
- string Convert To XML
- xml Convert To ArrayCollection
- xml convert to excel
- Convert excel to xml
- HTML & XML
- FF个人使用
- spring(依赖注入-DI)
- 北大acm1005
- 剧本翻译之メンアットワーク!4 ~ハンター達よ永遠に~猎人们的永远(序章1)
- OWC计算汇总公式操作说明
- Convert XML to HTML(XML 转换 HTML)(2)
- struct 中字节对齐问题
- sizeof用法总结
- Deploy Tibco General Interface(GI) Application With Tomcat
- 8086的地址ffff:ffff和0:ffef回绕问题
- 北大acm1008
- .NET 如何制作 群发邮件程序
- 超链接标签《a/>和《html:link>的一点区别
- url传递中文乱码问题