diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/xslt/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/xslt/index.html')
-rw-r--r-- | files/zh-cn/web/xslt/index.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/files/zh-cn/web/xslt/index.html b/files/zh-cn/web/xslt/index.html new file mode 100644 index 0000000000..cf491833d6 --- /dev/null +++ b/files/zh-cn/web/xslt/index.html @@ -0,0 +1,86 @@ +--- +title: XSLT +slug: Web/XSLT +tags: + - XSLT +translation_of: Web/XSLT +--- +<p> </p> + +<div><strong>可扩展样式表语言转换(XSLT)</strong>是一种基于<a href="cn/XML">XML</a>的语言,和专门的处理软件一起使用,用于XML文档转换。虽然这个处理过程被称作“转换”,但并没有改变原始文档,而是在原文档内容的基础上创建了一个新的XML文档。然后, 这个新文档会被处理器序列化(输出)为标准的XML语法或其他格式,如<a href="cn/HTML">HTML</a>或纯文本。XSLT最常用于不同XML模式间的数据转换,或用于将XML数据转换为网页或PDF文档。 {{ Ref("one") }}</div> + +<table class="topicpage-table"> + <tbody> + <tr> + <td> + <h4 id="Documentation" name="Documentation"><a>Documentation</a></h4> + + <dl> + <dt><a href="cn/XSLT/Elements">XSLT Element Reference</a></dt> + </dl> + + <dl> + <dt><a href="cn/Transforming_XML_with_XSLT">Transforming XML with XSLT</a></dt> + <dd><small>XSLT allows a stylesheet author to transform a primary XML document in two significant ways: manipulating and sorting the content, including a wholesale reordering of it if so desired, and transforming the content into a different format.</small></dd> + </dl> + + <dl> + <dt><a href="cn/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations">Using the Mozilla JavaScript interface to XSL Transformations</a></dt> + <dd><small>This document describes the JavaScript interface to the XSLT processing engine in Mozilla 1.2 and up.</small></dd> + </dl> + + <dl> + <dt><a href="cn/XSLT/PI_Parameters">Specifying parameters using processing instructions</a></dt> + <dd><small>Firefox allows stylesheet parameters to be specified when using the <code><?xml-stylesheet?></code> processing instruction. This is done using the <code><?xslt-param?></code> PI described in this document.</small></dd> + </dl> + + <dl> + <dt><a class="external" href="http://www.topxml.com/xsl/tutorials/intro/">XSLT & XPath Tutorial</a></dt> + <dd><small>The TopXML XSLT tutorial introduces you to the basics of XSLT concepts, syntax, and programming.</small></dd> + </dl> + + <dl> + <dt><a class="external" href="http://www.w3schools.com/xsl/">XSLT Tutorial</a></dt> + <dd><small>This <a class="external" href="http://www.w3schools.com">W3Schools</a> tutorial teaches the reader how to use XSLT to transform XML documents into other formats, like XHTML.</small></dd> + </dl> + + <dl> + <dt><a class="external" href="http://www.xml.com/pub/a/2000/08/holman/">What is XSLT?</a></dt> + <dd><small>This extensive introduction to XSLT and XPath assumes no prior knowledge of the technologies, and guides the reader through background, context, structure, concepts and introductory terminology.</small></dd> + </dl> + + <dl> + <dt><a href="cn/XSLT_2.0">XSLT 2.0</a> (new)</dt> + </dl> + + <p><span class="alllinks"><a>View All...</a></span></p> + </td> + <td> + <h4 id="Community" name="Community">Community</h4> + + <ul> + <li>View Mozilla forums...</li> + </ul> + + <p>{{ DiscussionList("dev-tech-xslt", "mozilla.dev.tech.xslt") }}</p> + + <h4 id="Related_Topics" name="Related_Topics">Related Topics</h4> + + <dl> + <dd><a href="cn/XML">XML</a>, <a href="cn/XPath">XPath</a>, <a href="cn/XQuery">XQuery</a></dd> + </dl> + </td> + </tr> + </tbody> +</table> + +<hr> +<p><small>{{ Note("one") }} This description of XSLT is obtained from the <a class="external" href="http://en.wikipedia.org/wiki/Xslt">Wikipedia XSLT article</a>. </small></p> + +<p><span class="comment">Categories</span></p> + +<p><span class="comment">Interwiki Language Links</span></p> + +<p> </p> + +<p>{{ languages( { "en": "en/XSLT", "es": "es/XSLT", "fr": "fr/XSLT", "it": "it/XSLT", "ja": "ja/XSLT", "ko": "ko/XSLT", "pl": "pl/XSLT", "pt": "pt/XSLT" } ) }}</p> |