SlideShare una empresa de Scribd logo
1 de 2
Descargar para leer sin conexión
Location Paths [XPath §2]                                             XPath Operators                                                                                                  XSLT Functions [§12, §15]
                                                                                                                                                                                       node-set document(object, node-set?)
Optional ‘/’, zero or more location steps, separated by ‘/’           Parentheses may be used for grouping.
                                                                                                                                                                                       node-set key(string, object)
Location Steps [XPath §2.1]                                           Node-sets [XPath §3.3]                                                                                           string format-number(number, string, string?)
Axis specifier, node test, zero or more predicates
                                                                                                                                                 XSLT and XPath
                                                                      |                  [expr]           /                //                                                          node-set current()
Axis Specifiers [XPath §2.2]                                                                                                                                                           string unparsed-entity-uri(string)
                                                                      Booleans [XPath §3.4]
                                                                                                                                                 Quick Reference                       string generate-id(node-set?)
ancestor::                    following-sibling::                     <=, <, >=, > =, !=                  and              or
                                                                                                                                                                                       object system-property(string)
ancestor-or-self::            namespace::
                                                                      Numbers [XPath §3.5]                                                                                             boolean element-available(string)
attribute::                   parent::
                                                                      -expr              *, div, mod      +, -                                                                         boolean function-available(string)
child::                       preceding::
descendant::                  preceding-sibling::
                                                                                                                                                                                       Node Types [XPath §5]
                                                                      XPath Core Function Library
descendant-or-self::          self::
                                                                                                                                                                                       Root                            Processing Instruction
following::
                                                                      Node Set Functions [XPath §4.1]                                                                                  Element                         Comment
Node Tests [XPath §2.3]                                                                                                                                                                Attribute                       Text
                                                                      number last()
                              node()
name                                                                                                                                                                                   Namespace
                                                                      number position()
                              text()
URI:name                                                              number count(node-set)
                                                                                                                                                                                       Object Types [§11.1, XPath §1]
                              comment()
prefix:name                                                           node-set id(object)
*                             processing-instruction()                                                                                                                                 boolean         True or false
                                                                      string local-name(node-set?)
                              processing-instruction(literal)
prefix:*                                                              string namespace-uri(node-set?)                                                                                  number          Floating-point number
                                                                      string name(node-set?)
Abbreviated Syntax for Location Paths                                                                                                                                                  string          UCS characters
                                                                      String Functions [XPath §4.2]                                                                                    node-set        Set of nodes selected by a path
                child::
(nothing)
                                                                      string string(object?)                                                                                           Result tree XSLT only. Fragment of the result tree
@               attribute::
                                                                      string concat(string, string, string*)                                                                           fragment
//              /descendant-or-self::node()/                          boolean starts-with(string, string)
                                                                                                                                                                                       Expression Context [§4, XPath §1]
.               self::node()                                          boolean contains(string, string)
                                                                      string substring-before(string, string)                                                                          Context node (a node)
..              parent::node()
                                                                      string substring-after(string, string)                                                                           Context position (a number)
/               Node tree root
                                                                      string substring(string, number, number?)                                                                        Context size (a number)
Predicate [XPath §2.4]                                                                                                                                                                 Variable bindings in scope
                                                                      number string-length(string?)
                                                                                                                                                                                       Namespace declarations in scope
                                                                      string normalize-space(string?)
[expr]
                                                                                                                                                                                       Function library
                                                                      string translate(string, string, string)
Variable Reference [XPath §3.7]                                                                                                                  Mulberry Technologies, Inc.
                                                                                                                                                                                       Built-in Template Rules [§5.8]
                                                                      Boolean Functions [XPath §4.3]
$qname                                                                                                                                           17 West Jefferson Street, Suite 207
                                                                      boolean boolean(object)                                                                                          <xsl:template match=quot;*|/quot;>
                                                                                                                                                 Rockville, MD 20850 USA
Literal Result Elements [§7.1.1]                                      boolean not(object)                                                                                                 <xsl:apply-templates/>
                                                                                                                                                 Phone: +1 301/315-9631
Any element not in the xsl: namespace and not an extension            boolean true()                                                                                                   </xsl:template>
                                                                                                                                                 Fax: +1 301/315-8285
element
                                                                      boolean false()                                                            info@mulberrytech.com                 <xsl:template match=quot;*|/quot; mode=quot;mquot;>
                                                                      boolean lang(string)                                                       http://www.mulberrytech.com              <xsl:apply-templates mode=quot;mquot;/>
XSLT                                                                                                                                                                                   </xsl:template>
                                                                      Number Functions [XPath §4.4]
http://www.w3.org/TR/xslt                                             number number(object?)                                                                                           <xsl:template match=quot;text()|@*quot;>
                                                                      number sum(node-set)                                                                                                <xsl:value-of select=quot;.quot;/>
XPath
                                                                      number floor(number)                                                                                             </xsl:template>
http://www.w3.org/TR/xpath
                                                                      number ceiling(number)                                                                                           <xsl:template
XSL-List                                                              number round(number)                                                                    Mulberry                    match=quot;processing-instruction()|comment()quot;/>
http://www.mulberrytech.com/xsl/xsl-list/
                                                                                                                                                           Technologies, Inc.          Built-in template rule for namespaces is to do nothing



        Mulberry                                                                 Mulberry                                                                                                      Mulberry
     Technologies, Inc.                                                       Technologies, Inc. © 2000 Mulberry Technologies, Inc. (20010522)                                              Technologies, Inc.
                                 © 2000 Mulberry Technologies, Inc.                                                                                                                                                    © 2000 Mulberry Technologies, Inc.
Creating Attributes [§7.1.3]                                    Sorting [§10]                                                  Key
XSLT Elements
                                                                   <xsl:attribute name=quot;{qname}quot;                                   <xsl:sort select=quot;string-exprquot; lang=quot;{nmtoken}quot;
Stylesheet Element [§2.2]                                                                                                                                                                       xsl:stylesheet Element
                                                                      namespace=quot;{uri-reference}quot;>...</xsl:attribute>                 data-type=quot;{text|number|qname-but-not-
  <xsl:stylesheet version=quot;1.0quot; id=quot;idquot;                                                                                                                                                                            Required attribute
                                                                                                                                                                                                version=
                                                                                                                                      ncname}quot; order=quot;{ascending|descending}quot;
                                                                 Named Attribute Sets [§7.1.4]
     extension-element-prefixes=quot;tokensquot;                                                                                                                                                                           Optional attribute
                                                                                                                                                                                                version=
                                                                                                                                      case-order=quot;{upper-first|lower-first}quot;/>
     exclude-result-prefixes=quot;tokensquot;                              <xsl:attribute-set name=quot;qnamequot;
                                                                                                                                                                                                                   Attribute value template. Text between
                                                                                                                                                                                                {expr}
                                                                                                                                 Variables and Parameters [§11]
                                                                      use-attribute-sets=quot;qnamesquot;>
     xmlns:xsl=quot;http://www.w3.org/1999/XSL/
                                                                                                                                                                                                                   any { and } is evaluated as an
                                                                      xsl:attribute* </xsl:attribute-set>
     Transformquot;> xsl:import*, top-level elements                                                                                   <xsl:variable name=quot;qnamequot; select=quot;exprquot;/>
                                                                                                                                                                                                                   expression. Attribute value must
  </xsl:stylesheet>                                                                                                                <xsl:variable name=quot;qnamequot;>...</xsl:variable>
                                                                 Creating Text [§7.2]                                                                                                                              evaluate to indicated attribute type.
  xsl:transform is a synonym for xsl:stylesheet                                                                                    <xsl:param name=quot;qnamequot; select=quot;exprquot;/>
                                                                   <xsl:text disable-output-escaping=quot;yes|noquot;>                                                                                                     Anything allowed in a template
                                                                                                                                                                                                …
                                                                                                                                   <xsl:param name=quot;qnamequot;>...</xsl:param>
                                                                      #PCDATA </xsl:text>
Combining Stylesheets [§2.6]                                                                                                                                                                                       Separates alternative values
                                                                                                                                                                                                |
                                                                                                                                 Using Values [§11.3]
  <xsl:include href=quot;uri-referencequot;/>                            Processing Instructions [§7.3]                                                                                                                    Zero or one occurrences
                                                                                                                                                                                                ?
                                                                                                                                   <xsl:copy-of select=quot;exprquot;/>
                                                                   <xsl:processing-instruction name=quot;{ncname}quot;>
  <xsl:import href=quot;uri-referencequot;/>                                                                                                                                                                               Zero or more occurrences
                                                                                                                                                                                                *
                                                                      ...</xsl:processing-instruction>                           Passing Parameters [§11.6]                                                        One or more occurrences
                                                                                                                                                                                                +
Whitespace Stripping [§3.4]
                                                                 Creating Comments [§7.4]                                          <xsl:with-param name=quot;exprquot; select=quot;exprquot;/>                                     Character data
                                                                                                                                                                                                #PCDATA
  <xsl:strip-space elements=quot;tokensquot;/>
                                                                                                                                   <xsl:with-param name=quot;exprquot;>...</xsl:with-param>
                                                                   <xsl:comment>...</xsl:comment>
  <xsl:preserve-space elements=quot;tokensquot;/>                                                                                                                                                       Attribute Value Types
                                                                                                                                 Keys [§12.2]
                                                                 Copying [§7.5]
Defining Template Rules [§5.3]                                                                                                                                                                                 Literal value
                                                                                                                                                                                                1.0
                                                                                                                                   <xsl:key name=quot;qnamequot; match=quot;patternquot;
                                                                   <xsl:copy use-attribute-sets=quot;qnamesquot;>
  <xsl:template match=quot;patternquot; name=quot;qnamequot;                                                                                                                                                    boolean-expr Expression returning boolean value
                                                                                                                                      use=quot;exprquot;/>
                                                                      ...</xsl:copy>
     priority=quot;numberquot; mode=quot;qnamequot;>
                                                                                                                                                                                                               Single character
                                                                                                                                                                                                char
                                                                                                                                 Number Formatting [§12.3]
                                                                 Generating Text [§7.6.1]
     xsl:param* followed by text, literal result elements
                                                                                                                                                                                                               Expression
                                                                                                                                                                                                expr
     and/or XSL elements </xsl:template>                                                                                           <xsl:decimal-format name=quot;qnamequot;
                                                                   <xsl:value-of select=quot;string-exprquot;
                                                                                                                                                                                                               XML name used as identifier
                                                                                                                                                                                                id
                                                                                                                                      decimal-separator=quot;charquot;
                                                                      disable-output-escaping=quot;yes|noquot;/>
Applying Template Rules [§5.4]
                                                                                                                                      grouping-separator=quot;charquot; infinity=quot;stringquot;                              XML name not containing a colon (:)
                                                                                                                                                                                                ncname
                                                                 Attribute Value Templates [§7.6.2]
  <xsl:apply-templates select=quot;node-set-expquot;
                                                                                                                                      minus-sign=quot;charquot; NaN=quot;stringquot;                            node-set-expr Expression returning a node set
     mode=quot;qnamequot;/>                                                <element attribute=quot;{expr}quot;/>                                      percent=quot;charquot; per-mille=quot;charquot;
                                                                                                                                                                                                               Expression returning a number
                                                                                                                                                                                                number-expr
  <xsl:apply-templates select=quot;node-set-expquot;
                                                                                                                                      zero-digit=quot;charquot; digit=quot;charquot;
                                                                 Numbering [§7.7]
     mode=quot;qnamequot;>                                                                                                                                                                                             XSLT pattern
                                                                                                                                                                                                pattern
                                                                                                                                      pattern-separator=quot;charquot;/>
                                                                   <xsl:number level=quot;single|multiple|anyquot;
     (xsl:sort | xsl:with-param)* </xsl:apply-templates>                                                                                                                                                       Namespace prefix
                                                                                                                                                                                                prefix
                                                                      count=quot;patternquot; from=quot;patternquot;                             Messages [§13]
Overriding Template Rules [§5.6]                                                                                                                                                                               Namespace-qualified XML name
                                                                                                                                                                                                qname
                                                                      value=quot;number-exprquot; format=quot;{string}quot;                        <xsl:message terminate=quot;yes|noquot;>
                                                                                                                                                                                                               comprising local part and optional
  <xsl:apply-imports/>                                                lang=quot;{nmtoken}quot;                                                ...</xsl:message>
                                                                                                                                                                                                               prefix
                                                                      letter-value=quot;{alphabetic|traditional}quot;
Named Templates [§6]                                                                                                             Fallback [§15]                                                 qname-but-not- Namespace-qualified name comprising
                                                                      grouping-separator=quot;{char}quot;
  <xsl:call-template name=quot;qnamequot;/>
                                                                                                                                   <xsl:fallback>...</xsl:fallback>                             ncname         local part and prefix
                                                                      grouping-size=quot;{number}quot;/>
  <xsl:call-template name=quot;qnamequot;>
                                                                                                                                                                                                               Meaning varies with context. See Rec.
                                                                                                                                                                                                token
                                                                                                                                 Output [§16]
     xsl:with-param* </xsl:call-template>                        Repetition [§8]
                                                                                                                                                                                                               Reference to Universal Resource
                                                                                                                                                                                                uri-reference
                                                                                                                                   <xsl:output
                                                                   <xsl:for-each select=quot;node-set-exprquot;>
Namespace Alias [§7.1.1]                                                                                                                                                                                       Identifier
                                                                                                                                      method=quot;xml|html|text|qname-but-not-ncnamequot;
                                                                      xsl:sort*, ...</xsl:for-each>
  <xsl:namespace-alias result-prefix=quot;prefix|#defaultquot;
                                                                                                                                      version=quot;nmtokenquot; encoding=quot;stringquot;
     stylesheet-prefix=quot;prefix|#defaultquot;/>                       Conditional Processing [§9]                                          omit-xml-declaration=quot;yes|noquot;
                                                                   <xsl:if test=quot;boolean-exprquot;>...</xsl:if>
Creating Elements [§7.1.2]                                                                                                            doctype-public=quot;stringquot; doctype-system=quot;stringquot;
                                                                                                                                      standalone=quot;yes|noquot; indent=quot;yes|noquot;
  <xsl:element name=quot;{qname}quot;                                      <xsl:choose>
                                                                                                                                      cdata-section-elements=quot;qnamesquot;
     namespace=quot;{uri-reference}quot;                                      <xsl:when test=quot;exprquot;>...</xsl:when>+
                                                                                                                                      media-type=quot;stringquot;/>
     use-attribute-sets=quot;qnamesquot;>...</xsl:element>                    <xsl:otherwise>...</xsl:otherwise>?
                                                                   </xsl:choose>




      Mulberry                                                         Mulberry                                                        Mulberry                                                          Mulberry
   Technologies, Inc.                                               Technologies, Inc.                                              Technologies, Inc.                                                Technologies, Inc.
                            © 2000 Mulberry Technologies, Inc.                              © 2000 Mulberry Technologies, Inc.                             © 2000 Mulberry Technologies, Inc.                                    © 2000 Mulberry Technologies, Inc.

Más contenido relacionado

La actualidad más candente

Python 3.6 Features 20161207
Python 3.6 Features 20161207Python 3.6 Features 20161207
Python 3.6 Features 20161207Jay Coskey
 
Oop07 6
Oop07 6Oop07 6
Oop07 6schwaa
 
Network vs. Code Metrics to Predict Defects: A Replication Study
Network vs. Code Metrics  to Predict Defects: A Replication StudyNetwork vs. Code Metrics  to Predict Defects: A Replication Study
Network vs. Code Metrics to Predict Defects: A Replication StudyKim Herzig
 
Making Big Data Analytics Interactive and Real-­Time
 Making Big Data Analytics Interactive and Real-­Time Making Big Data Analytics Interactive and Real-­Time
Making Big Data Analytics Interactive and Real-­TimeSeven Nguyen
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - CJussi Pohjolainen
 
Declarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceDeclarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceAlexander Gladysh
 
Introduction to Haskell: 2011-04-13
Introduction to Haskell: 2011-04-13Introduction to Haskell: 2011-04-13
Introduction to Haskell: 2011-04-13Jay Coskey
 
Core java concepts
Core    java  conceptsCore    java  concepts
Core java conceptsChikugehlot
 
Lecture07 the linked-list_as_a_data_structure_v3
Lecture07 the linked-list_as_a_data_structure_v3Lecture07 the linked-list_as_a_data_structure_v3
Lecture07 the linked-list_as_a_data_structure_v3Hariz Mustafa
 
Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)Jonas Bonér
 
Intro to Python (High School) Unit #2
Intro to Python (High School) Unit #2Intro to Python (High School) Unit #2
Intro to Python (High School) Unit #2Jay Coskey
 
Collections In Java
Collections In JavaCollections In Java
Collections In JavaBinoj T E
 
scalaliftoff2009.pdf
scalaliftoff2009.pdfscalaliftoff2009.pdf
scalaliftoff2009.pdfHiroshi Ono
 
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeUsing Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeNicolas Bettenburg
 
Design of bare metal proxy compute node
Design of bare metal proxy compute nodeDesign of bare metal proxy compute node
Design of bare metal proxy compute nodeLorin Hochstein
 

La actualidad más candente (19)

Python 3.6 Features 20161207
Python 3.6 Features 20161207Python 3.6 Features 20161207
Python 3.6 Features 20161207
 
Oop07 6
Oop07 6Oop07 6
Oop07 6
 
Network vs. Code Metrics to Predict Defects: A Replication Study
Network vs. Code Metrics  to Predict Defects: A Replication StudyNetwork vs. Code Metrics  to Predict Defects: A Replication Study
Network vs. Code Metrics to Predict Defects: A Replication Study
 
Making Big Data Analytics Interactive and Real-­Time
 Making Big Data Analytics Interactive and Real-­Time Making Big Data Analytics Interactive and Real-­Time
Making Big Data Analytics Interactive and Real-­Time
 
Elementary Sort
Elementary SortElementary Sort
Elementary Sort
 
First fare 2010 java-introduction
First fare 2010 java-introductionFirst fare 2010 java-introduction
First fare 2010 java-introduction
 
Introduction to Objective - C
Introduction to Objective - CIntroduction to Objective - C
Introduction to Objective - C
 
Declarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing ExperienceDeclarative Internal DSLs in Lua: A Game Changing Experience
Declarative Internal DSLs in Lua: A Game Changing Experience
 
Introduction to Haskell: 2011-04-13
Introduction to Haskell: 2011-04-13Introduction to Haskell: 2011-04-13
Introduction to Haskell: 2011-04-13
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
Core java concepts
Core    java  conceptsCore    java  concepts
Core java concepts
 
Lecture07 the linked-list_as_a_data_structure_v3
Lecture07 the linked-list_as_a_data_structure_v3Lecture07 the linked-list_as_a_data_structure_v3
Lecture07 the linked-list_as_a_data_structure_v3
 
Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)Pragmatic Real-World Scala (short version)
Pragmatic Real-World Scala (short version)
 
Intro to Python (High School) Unit #2
Intro to Python (High School) Unit #2Intro to Python (High School) Unit #2
Intro to Python (High School) Unit #2
 
Advanced Javascript
Advanced JavascriptAdvanced Javascript
Advanced Javascript
 
Collections In Java
Collections In JavaCollections In Java
Collections In Java
 
scalaliftoff2009.pdf
scalaliftoff2009.pdfscalaliftoff2009.pdf
scalaliftoff2009.pdf
 
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeUsing Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
 
Design of bare metal proxy compute node
Design of bare metal proxy compute nodeDesign of bare metal proxy compute node
Design of bare metal proxy compute node
 

Destacado

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLyht4ever
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1yht4ever
 
Rendering XML Documents
Rendering XML DocumentsRendering XML Documents
Rendering XML Documentsyht4ever
 
Body Paintings
Body PaintingsBody Paintings
Body Paintingsweb25111
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Documentyht4ever
 
ScholarsDay_Poster2015_Sumner-Atay
ScholarsDay_Poster2015_Sumner-AtayScholarsDay_Poster2015_Sumner-Atay
ScholarsDay_Poster2015_Sumner-AtayAlex Sumner
 
SURE_2014 Poster 2.0
SURE_2014 Poster 2.0SURE_2014 Poster 2.0
SURE_2014 Poster 2.0Alex Sumner
 
WebSphere DataPower B2B Appliance overview
WebSphere DataPower B2B Appliance overviewWebSphere DataPower B2B Appliance overview
WebSphere DataPower B2B Appliance overviewSarah Duffy
 
Transforming xml with XSLT
Transforming  xml with XSLTTransforming  xml with XSLT
Transforming xml with XSLTMalintha Adikari
 
Applications of SOA and Web Services in Grid Computing
Applications of SOA and Web Services in Grid ComputingApplications of SOA and Web Services in Grid Computing
Applications of SOA and Web Services in Grid Computingyht4ever
 
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlXml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlÔng Thông
 
Tracking Message Flows in DataPower With CA APM
Tracking Message Flows in DataPower With CA APMTracking Message Flows in DataPower With CA APM
Tracking Message Flows in DataPower With CA APMCA Technologies
 

Destacado (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1
 
Rendering XML Documents
Rendering XML DocumentsRendering XML Documents
Rendering XML Documents
 
Body Paintings
Body PaintingsBody Paintings
Body Paintings
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Document
 
treeview
treeviewtreeview
treeview
 
ScholarsDay_Poster2015_Sumner-Atay
ScholarsDay_Poster2015_Sumner-AtayScholarsDay_Poster2015_Sumner-Atay
ScholarsDay_Poster2015_Sumner-Atay
 
SURE_2014 Poster 2.0
SURE_2014 Poster 2.0SURE_2014 Poster 2.0
SURE_2014 Poster 2.0
 
XML and XSLT
XML and XSLTXML and XSLT
XML and XSLT
 
WebSphere DataPower B2B Appliance overview
WebSphere DataPower B2B Appliance overviewWebSphere DataPower B2B Appliance overview
WebSphere DataPower B2B Appliance overview
 
Xslt tutorial
Xslt tutorialXslt tutorial
Xslt tutorial
 
Transforming xml with XSLT
Transforming  xml with XSLTTransforming  xml with XSLT
Transforming xml with XSLT
 
Applications of SOA and Web Services in Grid Computing
Applications of SOA and Web Services in Grid ComputingApplications of SOA and Web Services in Grid Computing
Applications of SOA and Web Services in Grid Computing
 
XSLT
XSLTXSLT
XSLT
 
4 Html
4 Html4 Html
4 Html
 
Learning XSLT
Learning XSLTLearning XSLT
Learning XSLT
 
Strings v.1.1
Strings v.1.1Strings v.1.1
Strings v.1.1
 
Xquery
XqueryXquery
Xquery
 
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlXml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
 
Tracking Message Flows in DataPower With CA APM
Tracking Message Flows in DataPower With CA APMTracking Message Flows in DataPower With CA APM
Tracking Message Flows in DataPower With CA APM
 

Similar a Xsl Tand X Path Quick Reference

Xbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for JavaXbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for Javameysholdt
 
Simplifying Database Development (OSCON 2009)
Simplifying Database Development (OSCON 2009)Simplifying Database Development (OSCON 2009)
Simplifying Database Development (OSCON 2009)PostgreSQL Experts, Inc.
 
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議dico_leque
 
Have Your Cake and Eat It Too: Meta-Programming Techniques for Java
Have Your Cake and Eat It Too: Meta-Programming Techniques for JavaHave Your Cake and Eat It Too: Meta-Programming Techniques for Java
Have Your Cake and Eat It Too: Meta-Programming Techniques for JavaHoward Lewis Ship
 
HFile: A Block-Indexed File Format to Store Sorted Key-Value Pairs
HFile: A Block-Indexed File Format to Store Sorted Key-Value PairsHFile: A Block-Indexed File Format to Store Sorted Key-Value Pairs
HFile: A Block-Indexed File Format to Store Sorted Key-Value PairsSchubert Zhang
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1brecke
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1brecke
 
Getting started with Clojure
Getting started with ClojureGetting started with Clojure
Getting started with ClojureJohn Stevenson
 
Sedna XML Database System: Internal Representation
Sedna XML Database System: Internal RepresentationSedna XML Database System: Internal Representation
Sedna XML Database System: Internal RepresentationIvan Shcheklein
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to ScalaBrian Hsu
 
Clojure Intro
Clojure IntroClojure Intro
Clojure Introthnetos
 

Similar a Xsl Tand X Path Quick Reference (20)

Xbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for JavaXbase - Implementing Domain-Specific Languages for Java
Xbase - Implementing Domain-Specific Languages for Java
 
Building a SQL Database that Works
Building a SQL Database that WorksBuilding a SQL Database that Works
Building a SQL Database that Works
 
Pune Clojure Course Outline
Pune Clojure Course OutlinePune Clojure Course Outline
Pune Clojure Course Outline
 
Simplifying Database Development (OSCON 2009)
Simplifying Database Development (OSCON 2009)Simplifying Database Development (OSCON 2009)
Simplifying Database Development (OSCON 2009)
 
RaleighFS v5
RaleighFS v5RaleighFS v5
RaleighFS v5
 
Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議Meta-objective Lisp @名古屋 Reject 会議
Meta-objective Lisp @名古屋 Reject 会議
 
Have Your Cake and Eat It Too: Meta-Programming Techniques for Java
Have Your Cake and Eat It Too: Meta-Programming Techniques for JavaHave Your Cake and Eat It Too: Meta-Programming Techniques for Java
Have Your Cake and Eat It Too: Meta-Programming Techniques for Java
 
HFile: A Block-Indexed File Format to Store Sorted Key-Value Pairs
HFile: A Block-Indexed File Format to Store Sorted Key-Value PairsHFile: A Block-Indexed File Format to Store Sorted Key-Value Pairs
HFile: A Block-Indexed File Format to Store Sorted Key-Value Pairs
 
Grammarware Memes
Grammarware MemesGrammarware Memes
Grammarware Memes
 
tutorial5
tutorial5tutorial5
tutorial5
 
tutorial5
tutorial5tutorial5
tutorial5
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1
 
javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1javascript-cheat-sheet-v1_1
javascript-cheat-sheet-v1_1
 
Getting started with Clojure
Getting started with ClojureGetting started with Clojure
Getting started with Clojure
 
Plc (1)
Plc (1)Plc (1)
Plc (1)
 
Sedna XML Database System: Internal Representation
Sedna XML Database System: Internal RepresentationSedna XML Database System: Internal Representation
Sedna XML Database System: Internal Representation
 
wtf is in Java/JDK/wtf7?
wtf is in Java/JDK/wtf7?wtf is in Java/JDK/wtf7?
wtf is in Java/JDK/wtf7?
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
Hfile格式详细介绍
Hfile格式详细介绍Hfile格式详细介绍
Hfile格式详细介绍
 
Clojure Intro
Clojure IntroClojure Intro
Clojure Intro
 

Más de LiquidHub

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0LiquidHub
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade processLiquidHub
 
Share point 2013
Share point 2013Share point 2013
Share point 2013LiquidHub
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovementsLiquidHub
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2LiquidHub
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010LiquidHub
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share pointLiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server DeploymentLiquidHub
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install DatabasesLiquidHub
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment DetailLiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup StrategiesLiquidHub
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003LiquidHub
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration StepsLiquidHub
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007LiquidHub
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughLiquidHub
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshLiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshLiquidHub
 

Más de LiquidHub (20)

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade process
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
 
5060 A 01
5060 A 015060 A 01
5060 A 01
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
 

Último

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Xsl Tand X Path Quick Reference

  • 1. Location Paths [XPath §2] XPath Operators XSLT Functions [§12, §15] node-set document(object, node-set?) Optional ‘/’, zero or more location steps, separated by ‘/’ Parentheses may be used for grouping. node-set key(string, object) Location Steps [XPath §2.1] Node-sets [XPath §3.3] string format-number(number, string, string?) Axis specifier, node test, zero or more predicates XSLT and XPath | [expr] / // node-set current() Axis Specifiers [XPath §2.2] string unparsed-entity-uri(string) Booleans [XPath §3.4] Quick Reference string generate-id(node-set?) ancestor:: following-sibling:: <=, <, >=, > =, != and or object system-property(string) ancestor-or-self:: namespace:: Numbers [XPath §3.5] boolean element-available(string) attribute:: parent:: -expr *, div, mod +, - boolean function-available(string) child:: preceding:: descendant:: preceding-sibling:: Node Types [XPath §5] XPath Core Function Library descendant-or-self:: self:: Root Processing Instruction following:: Node Set Functions [XPath §4.1] Element Comment Node Tests [XPath §2.3] Attribute Text number last() node() name Namespace number position() text() URI:name number count(node-set) Object Types [§11.1, XPath §1] comment() prefix:name node-set id(object) * processing-instruction() boolean True or false string local-name(node-set?) processing-instruction(literal) prefix:* string namespace-uri(node-set?) number Floating-point number string name(node-set?) Abbreviated Syntax for Location Paths string UCS characters String Functions [XPath §4.2] node-set Set of nodes selected by a path child:: (nothing) string string(object?) Result tree XSLT only. Fragment of the result tree @ attribute:: string concat(string, string, string*) fragment // /descendant-or-self::node()/ boolean starts-with(string, string) Expression Context [§4, XPath §1] . self::node() boolean contains(string, string) string substring-before(string, string) Context node (a node) .. parent::node() string substring-after(string, string) Context position (a number) / Node tree root string substring(string, number, number?) Context size (a number) Predicate [XPath §2.4] Variable bindings in scope number string-length(string?) Namespace declarations in scope string normalize-space(string?) [expr] Function library string translate(string, string, string) Variable Reference [XPath §3.7] Mulberry Technologies, Inc. Built-in Template Rules [§5.8] Boolean Functions [XPath §4.3] $qname 17 West Jefferson Street, Suite 207 boolean boolean(object) <xsl:template match=quot;*|/quot;> Rockville, MD 20850 USA Literal Result Elements [§7.1.1] boolean not(object) <xsl:apply-templates/> Phone: +1 301/315-9631 Any element not in the xsl: namespace and not an extension boolean true() </xsl:template> Fax: +1 301/315-8285 element boolean false() info@mulberrytech.com <xsl:template match=quot;*|/quot; mode=quot;mquot;> boolean lang(string) http://www.mulberrytech.com <xsl:apply-templates mode=quot;mquot;/> XSLT </xsl:template> Number Functions [XPath §4.4] http://www.w3.org/TR/xslt number number(object?) <xsl:template match=quot;text()|@*quot;> number sum(node-set) <xsl:value-of select=quot;.quot;/> XPath number floor(number) </xsl:template> http://www.w3.org/TR/xpath number ceiling(number) <xsl:template XSL-List number round(number) Mulberry match=quot;processing-instruction()|comment()quot;/> http://www.mulberrytech.com/xsl/xsl-list/ Technologies, Inc. Built-in template rule for namespaces is to do nothing Mulberry Mulberry Mulberry Technologies, Inc. Technologies, Inc. © 2000 Mulberry Technologies, Inc. (20010522) Technologies, Inc. © 2000 Mulberry Technologies, Inc. © 2000 Mulberry Technologies, Inc.
  • 2. Creating Attributes [§7.1.3] Sorting [§10] Key XSLT Elements <xsl:attribute name=quot;{qname}quot; <xsl:sort select=quot;string-exprquot; lang=quot;{nmtoken}quot; Stylesheet Element [§2.2] xsl:stylesheet Element namespace=quot;{uri-reference}quot;>...</xsl:attribute> data-type=quot;{text|number|qname-but-not- <xsl:stylesheet version=quot;1.0quot; id=quot;idquot; Required attribute version= ncname}quot; order=quot;{ascending|descending}quot; Named Attribute Sets [§7.1.4] extension-element-prefixes=quot;tokensquot; Optional attribute version= case-order=quot;{upper-first|lower-first}quot;/> exclude-result-prefixes=quot;tokensquot; <xsl:attribute-set name=quot;qnamequot; Attribute value template. Text between {expr} Variables and Parameters [§11] use-attribute-sets=quot;qnamesquot;> xmlns:xsl=quot;http://www.w3.org/1999/XSL/ any { and } is evaluated as an xsl:attribute* </xsl:attribute-set> Transformquot;> xsl:import*, top-level elements <xsl:variable name=quot;qnamequot; select=quot;exprquot;/> expression. Attribute value must </xsl:stylesheet> <xsl:variable name=quot;qnamequot;>...</xsl:variable> Creating Text [§7.2] evaluate to indicated attribute type. xsl:transform is a synonym for xsl:stylesheet <xsl:param name=quot;qnamequot; select=quot;exprquot;/> <xsl:text disable-output-escaping=quot;yes|noquot;> Anything allowed in a template … <xsl:param name=quot;qnamequot;>...</xsl:param> #PCDATA </xsl:text> Combining Stylesheets [§2.6] Separates alternative values | Using Values [§11.3] <xsl:include href=quot;uri-referencequot;/> Processing Instructions [§7.3] Zero or one occurrences ? <xsl:copy-of select=quot;exprquot;/> <xsl:processing-instruction name=quot;{ncname}quot;> <xsl:import href=quot;uri-referencequot;/> Zero or more occurrences * ...</xsl:processing-instruction> Passing Parameters [§11.6] One or more occurrences + Whitespace Stripping [§3.4] Creating Comments [§7.4] <xsl:with-param name=quot;exprquot; select=quot;exprquot;/> Character data #PCDATA <xsl:strip-space elements=quot;tokensquot;/> <xsl:with-param name=quot;exprquot;>...</xsl:with-param> <xsl:comment>...</xsl:comment> <xsl:preserve-space elements=quot;tokensquot;/> Attribute Value Types Keys [§12.2] Copying [§7.5] Defining Template Rules [§5.3] Literal value 1.0 <xsl:key name=quot;qnamequot; match=quot;patternquot; <xsl:copy use-attribute-sets=quot;qnamesquot;> <xsl:template match=quot;patternquot; name=quot;qnamequot; boolean-expr Expression returning boolean value use=quot;exprquot;/> ...</xsl:copy> priority=quot;numberquot; mode=quot;qnamequot;> Single character char Number Formatting [§12.3] Generating Text [§7.6.1] xsl:param* followed by text, literal result elements Expression expr and/or XSL elements </xsl:template> <xsl:decimal-format name=quot;qnamequot; <xsl:value-of select=quot;string-exprquot; XML name used as identifier id decimal-separator=quot;charquot; disable-output-escaping=quot;yes|noquot;/> Applying Template Rules [§5.4] grouping-separator=quot;charquot; infinity=quot;stringquot; XML name not containing a colon (:) ncname Attribute Value Templates [§7.6.2] <xsl:apply-templates select=quot;node-set-expquot; minus-sign=quot;charquot; NaN=quot;stringquot; node-set-expr Expression returning a node set mode=quot;qnamequot;/> <element attribute=quot;{expr}quot;/> percent=quot;charquot; per-mille=quot;charquot; Expression returning a number number-expr <xsl:apply-templates select=quot;node-set-expquot; zero-digit=quot;charquot; digit=quot;charquot; Numbering [§7.7] mode=quot;qnamequot;> XSLT pattern pattern pattern-separator=quot;charquot;/> <xsl:number level=quot;single|multiple|anyquot; (xsl:sort | xsl:with-param)* </xsl:apply-templates> Namespace prefix prefix count=quot;patternquot; from=quot;patternquot; Messages [§13] Overriding Template Rules [§5.6] Namespace-qualified XML name qname value=quot;number-exprquot; format=quot;{string}quot; <xsl:message terminate=quot;yes|noquot;> comprising local part and optional <xsl:apply-imports/> lang=quot;{nmtoken}quot; ...</xsl:message> prefix letter-value=quot;{alphabetic|traditional}quot; Named Templates [§6] Fallback [§15] qname-but-not- Namespace-qualified name comprising grouping-separator=quot;{char}quot; <xsl:call-template name=quot;qnamequot;/> <xsl:fallback>...</xsl:fallback> ncname local part and prefix grouping-size=quot;{number}quot;/> <xsl:call-template name=quot;qnamequot;> Meaning varies with context. See Rec. token Output [§16] xsl:with-param* </xsl:call-template> Repetition [§8] Reference to Universal Resource uri-reference <xsl:output <xsl:for-each select=quot;node-set-exprquot;> Namespace Alias [§7.1.1] Identifier method=quot;xml|html|text|qname-but-not-ncnamequot; xsl:sort*, ...</xsl:for-each> <xsl:namespace-alias result-prefix=quot;prefix|#defaultquot; version=quot;nmtokenquot; encoding=quot;stringquot; stylesheet-prefix=quot;prefix|#defaultquot;/> Conditional Processing [§9] omit-xml-declaration=quot;yes|noquot; <xsl:if test=quot;boolean-exprquot;>...</xsl:if> Creating Elements [§7.1.2] doctype-public=quot;stringquot; doctype-system=quot;stringquot; standalone=quot;yes|noquot; indent=quot;yes|noquot; <xsl:element name=quot;{qname}quot; <xsl:choose> cdata-section-elements=quot;qnamesquot; namespace=quot;{uri-reference}quot; <xsl:when test=quot;exprquot;>...</xsl:when>+ media-type=quot;stringquot;/> use-attribute-sets=quot;qnamesquot;>...</xsl:element> <xsl:otherwise>...</xsl:otherwise>? </xsl:choose> Mulberry Mulberry Mulberry Mulberry Technologies, Inc. Technologies, Inc. Technologies, Inc. Technologies, Inc. © 2000 Mulberry Technologies, Inc. © 2000 Mulberry Technologies, Inc. © 2000 Mulberry Technologies, Inc. © 2000 Mulberry Technologies, Inc.