XSL Formatting Objects Reference
The process that converts a description into a presentation is called formatting.
Object
Description
Basic-Link
Represents the start resource of a link
Bidi-override
For example, XML: abcdefabcdeabcdef It is required to write XSL to convert the XML. All B in the content of item in the output must be changed to B, and normal XSL cannot be completed.How to embed javascript:XSL: Xmlns: msxsl = "urn:
Template
The text content within the label describes the form of the transformation result, called the output template. The value of the attribute match compares the template rule to the specified element or attribute, only the matching DOM nodes
A common problem with Web service applications is that real back-end software does not support XML (or at least not the standardized XML that your Web service uses). To solve this problem, many architectures implement a translation phase that
This section describes the methods and attributes added by multiple XSL for VBScript and JScript to give full play to the advantages of XML, which are used for , compile the expression within the tag or the expr attribute of and .
1.
Original: A Egil refsnes translation: Atzie
Six. XSL filtering and querying
What should we do if we want to show only the XML data that satisfies certain criteria? Or the example code above, we just need to add parameters to the Select attribute
Sometimes, we might want XML documents to be output with some statistical information or something like numbers, and it's not easy to make use of the previous knowledge. Two new elements and will be introduced today, so that we can easily handle
The copy and copy-of structures are used to copy nodes. The copy element only copies the current node without any nodes or attributes. But copy-of is all copied.
XSLT stylesheet 1
XML source code compare these constructs .Output copy-of:
Tutorials | control | statements
Seven. XSL Control statements
1. Conditional Statement If...thenXSL also has conditional statements (hehe ~ ~ Good, like the program language). The specific syntax is to add a xsl:if element, similar to
This issue introduces multiple XSL methods and properties for VBScript, JScript, to give full play to XML advantages, for , markup expression writing or , The expr attribute of .
First, Absolutechildnumber
Meaning: Returns the ordinal number of a
Original: A Egil refsnes translation: Atzie
Seven. XSL Control statements
1. Conditional Statement If...thenXSL also has conditional statements (hehe ~ ~ Good, like the program language). The specific syntax is to add a xsl:if element, similar to
Tutorial
Six. XSL filtering and querying
What should we do if we want to show only the XML data that satisfies certain criteria? Or the example code above, we just need to add parameters to the Select attribute of the Xsl:for-each
What is XPathXPath (extensible path) is to provide a shared syntactic and semantic result for the shared functions of XSL Transformation [XSLT] and XPointer [XPointer. An important objective of XPath is to address XML document components. The same
Sometimes, we may want to add some statistical information or numbers to the content in XML Document Output, so it is not easy to use the previous knowledge. Today we will introduce two new elements: and , so that we can easily deal with this
Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan-ma
Untitled Document
Please input the dealer's communication information:
Name:
Address:
Tel:
Please enter inventory information
Name
Specifications
Storage
Operations
Box
Parts
2.2.asp file
'////////
xml| Dynamic | pagination | sort | Show in http://www.asptoday.com/articles/20000724.htm there are very good examples that are about
Use XSL to dynamically sort XML documents, which are displayed in pagination.
Mainly uses three files:
Default.asp a
Test.xml:
]]>
xsl Method 1:
xsl Method 2:
Both methods are OK, but I personally recommend the first one in terms of application. Because the Disable-output-escaping property, not all browsers are supported, such as Firefox does not support.
xml= Extensible Markup Language (extensible Markup Language).Extensible Markup Language XML is a simple data storage language that describes data using a series of simple tags that are available
Convenient way to build, although XML occupies more
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.