摘要:The key() function returns a node-set from the document, using the index specified by an <xsl:key> element.cdcatalog.xmlCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<?xmlversion="1.0"encoding="ISO-8859-1"?>2<!--EditedbyXMLSpy®
阅读全文
摘要:To invoke a template by name, two things have to happen: • The template you want to invoke has to have a name. • You use the <xsl:call-template> element to invoke the named template. The XSLT <xsl:template> element has a mode attribute that lets you pr
阅读全文
摘要:In XSLT 2.0, xsl:value-of has a separator attribute. If the select attribute is a sequenceof items, those items are output in sequence, with the value of the separatorattribute between them. There are some changes to the xsl:number element in XSLT 2.0. First of all, three newformats have been a
阅读全文
摘要:There are seven kinds of nodes in XPath: • The document node (one per document) • Element nodes • Attribute nodes • Text nodes • Comment nodes • Processing instruction nodes • Namespace nodes
阅读全文
摘要:[代码][代码]java -cp saxon9he.jar net.sf.saxon.Transform -t -greeting.xml -xsl:greeting.xsl -o:output.html[代码]
阅读全文