`
wonderfan
  • 浏览: 13663 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
社区版块
存档分类
最新评论
阅读更多
xslt可以输出xml,html或者普通文本格式。<xsl:output>元素定义了输出的method以及输出方式的控制。如果<xsl:output>包含在样式表中,它必须是<xsl:stylesheet>元素的一级子节点。在xslt文件中,所有<xsl:stylesheet>元素的一级子节点被称为top-level元素。<xsl:output>元素语法如下:<xsl:output method="xml or html or text"
    version="version"
    encoding="encoding"
    omit-xml-declaration="yes or no"
    standalone="yes or no"
    cdata-section-elements="CDATA sections"
    indent="yes or no"/>
如果在xsl文件中没有包含<xsl:output>元素,并且目标文件的根元素为<html>,那么默认的输出method为html,否则默认的输出方式为xml.

<xsl:element>标签可以使我们动态的创建元素,语法如下:
<xsl:element name="element name"
    use-attribute-sets="attribute set names"
    namespace="namespace URI">

<xsl:attribute>可以被用来动态的添加元素的属性。用法:xsl:attribute name="attribute name"
               namespace="namespace URI">
<xsl:text>标签正如其名,可以插入PCDATA文本到目标文件,用法:<xsl:text disable-output-escaping="yes or no">

<extension>标签可以对<schema>定义的基础类型进行扩展,<restriction>标签可以对<schema>定义的基础类型进行约束。

It is often necessary to design distributed systems where the code to run an application is spread across multiple computers.In order to make an rpc, you need to know a number of things:@where does the code you want to call reside?@does the code any parameters? @ will the procedure return any data? A protocol is a set of rules that allow different applications or even different computers to communicate. These protocola specify how to provide an address for the remote computer,how to package up data to be sent to the remote procedures and how to get any return data back,how to initiate the call,how to deal with errors and all of the other details that need to be addressed to allow multiple computers to communicate with each other. SOAP just solves part od the distributed computing problem:it allows you to make remote procedure calls,however, in order to make use of a procedure which is avaible through soap, you have to know where that procedure is located as well as exactly how to pass the information to that procedure-how to format the body of the soap message. you may also need other information about the procedure. The web service description language is an xml-based lanuage that provides a contract between a web service and the outside world. XLINK provides a mechanism for defining links,including links which involve multiple resources and multiple traversal direction between those resources. XPointer provides functionality for pointing to document fragments from xml documents.

XLink provides a number of global attributes which can be attached to any xml element to define a link. The attributes are as follows:@type specifies the type of xlink element being created @href specifies the uri used to retrieve a resource@role is used to specify the function of a link's resource in machines readable fashion@title is used to specify the function of a link' resource in a human-readable fashion@show specifies how the resource should be displayed when retrieved@actuate specifies when the specified resource should be retrieved@the from and to attributes specify link directions. Which attributes can used on an element depends on the value of type which is mandatory on any xml element being used to define a link.There are six types:#simple;#extended;#locator;@arc;@resource;@title.

XLink defines two main types of links: a simple link and an extended link. A simple link is what we have been working with all along in html. It deals with only two resources and is unidirectional. Extended links provide extra functionality that html links do not.
分享到:
评论

相关推荐

    XSL开发基础参考资料

    XSL函数大全 XSL元素大全 常用的XPATH手册 XSL知识速查

    OMML2MML.XSL

    使用java解析word文件里得数学公式时,会用到该文件.可以将公式的格式转为目标格式. Mathml (MML) ...Office在安装目录中提供了将OMML转为MathML的xsl工具:MML2OMML.XSL 注:试用前,请先打开文件并阅读第一行.

    网页XSL基础教程,支持XML和XSL

    一个跨浏览器的解决方法 ...在服务器上进行XSL转换正在成为未来Internet信息服务器工作任务的一个主要部 分,同时我们将看到专用浏览器市场的发展,如:Braille、有声网络、网络打印 机、手持PC、移动电话等。

    XSL-FO 教程

    XSL-FO 简介 XSL-FO 的简介。包括其概念和作用。 XSL-FO 文档 本章将解 XSL-FO 文档的结构。 XSL-FO 区域 本章讲解 XSL-FO 的区域模型(area model)。 XSL-FO 输出 本章讲解 XSL-FO 文档的输出元素(Output ...

    XSL简明教程(5)

    简单的办法就是给你的for-each元素...&lt;xsl:for-each select="CATALOG/CD" order-by=" ARTIST"&gt; order-by属性带有一个" "或者"-" 的符号,用来定义索引的方式,是升序还是降序排列。符号后面的名字就是要索引的关键字。

    xml+xsl+css生成制作html网页

    xml+xsl+css html网页 xml+xsl+css html网页 xml+xsl+css html网页 xml+xsl+css html网页 xml+xsl+css html网页 xml+xsl+css html网页

    Jmeter报告模板文件-jmeter.results.zyanycall.me.xsl

    原版的模板文件有免费资源我知道,但这个是我再次加工升级的文件,来自jmeter.results.shanhe.me.xsl。为了便于区分,我将名字做了修改。 我之前上传的jmeter.results.shanhe.me.xsl没有这个功能强大和实用。 功能...

    跟我学xsl.doc

    XSL入门、XSL模板与匹配模式、测试模式等。

    SAP PI XSL mapping 模板

    SAP PI XSL mapping 模板

    xsl解析xml生成表格,表格行动态隐藏与显示

    xsl解析xml生成表格,表格行动态隐藏与显示,有一定的参考价值

    XSL速查手册中文版

    XSL速查XSL速查XSL速查XSL速查XSL速查XSL速查

    omml2mml.xsl

    Office Word 2016 中Word自带公式编辑器编辑的公式转Mathtype出现omml2mml.xsl 问题的解决方法 将https://docs.wiris.com/_media/en/mathtype/office_tools/support_notices/omml2mml.zip下载的omml2mml.xsl 复制到...

    jmeter.results.shanhe.me.xsl和jmeter-results-detail-report_21.xsl报告结合

    jmeter.results.shanhe.me.xsl和jmeter-results-detail-report_21.xsl报告结合,在jmeter.results.shanhe.me.xsl的基础上增加summary,解决换行问题

    XML+xsl讲XML文档的内容用xsl建表

    XML+xsl讲XML文档的内容用xsl建表。

    xsl javascript 传递参数

    xsl xml xpath javascript param 绝对超值,你值得拥有!

    java XSL解析器

    java XSL解析器

    使用xsl导出excel源码示例

    使用xsl导出excel源码示例,使用xsl导出excel源码示例,使用xsl导出excel源码示例,使用xsl导出excel源码示例.

Global site tag (gtag.js) - Google Analytics