SlideShare a Scribd company logo
1 of 2
Download to read offline
?? /descendant::figure[position()=42] selects the forty-second figure
                         HORIZONTAL AXIS                                        Examples:
                                                                                ?? child::para selects the para element children of the context node            element in the document [//figure[position()=42]]
attribute
                                                                                   [para]                                                                    descendant-or-self
                                                                                ?? child::* selects all element children of the context node [*]
The attribute axis contains the attributes of the context node; the axis will
                                                                                                                                                             The descendant-or-self axis contains the context node and the
                                                                                ?? child::text() selects all text node children of the context node
be empty unless the context node is an element.
                                                                                                                                                             descendants of the context node.
Examples:                                                                          [text()]
                                                                                                                                                             Example:
?? attribute::name selects the name attribute of the context node               ?? child::node() selects all the children of the context node, whatever
                                                                                                                                                             ?? descendant-or-self::para selects the para element descendants of
    [@name]                                                                        their node type
                                                                                                                                                                 the context node and, if the context node is a para element, the
?? attribute::* selects all the attributes of the context node [@*]             ?? child::chapter/descendant::para selects the para element
                                                                                                                                                                 context node as well
                                                                                   descendants of the chapter element children of the context node
following
                                                                                                                                                             parent
                                                                                   [chapter//para]
The following axis contains all nodes in the same document as the               ?? child::*/child::para selects all para grandchildren of the context        The parent axis contains the parent of the context node, if there is one.
context node that are after the context node in document order, excluding          node [*/para]                                                             Example:
any descendants and excluding attribute nodes and namespace nodes.
                                                                                ?? child::para[position()=1] selects the first para child of the context     ?? parent:: select the parent element [..]
following-sibling                                                                  node [para[position()=1]]                                                 ?? / selects the document root (which is always the parent of the
                                                                                ?? child::para[position()=last()] selects the last para child of the
The following-sibling axis contains all the following siblings of the                                                                                            document element) [//]
                                                                                   context node [para[position()=last()]]
context node; if the context node is an attribute node or namespace node,                                                                                    self
                                                                                ?? child::para[position()=last()-1] selects the last but one para child of
the following-sibling axis is empty.
                                                                                                                                                             The self axis contains just the context node itself.
                                                                                   the context node [para[position()=last()-1]]
Example:
                                                                                ?? child::para[position()>1] selects all the para children of the context    Example:
?? following-sibling::chapter[position()=1] selects the next chapter
                                                                                                                                                             ?? self::para selects the context node if it is a para element, and
                                                                                   node other than the first para child of the context node
     sibling of the context node
                                                                                                                                                                 otherwise selects nothing [.]
                                                                                   [para[position()>1]]
namespace
                                                                                ?? /child::doc/child::chapter[position()=5]/child::section[position()
                                                                                                                                                                                   NODE SET FUNCTIONS
The namespace axis contains the namespace nodes of the context node;               =2] selects the second section of the fifth chapter of the doc
the axis will be empty unless the context node is an element.                                                                                                number count(node-set?)                                               § 4.1
                                                                                   document element [/doc/chapter[5]/section[2]]
                                                                                ?? child::para[attribute::type=quot;warningquot;] selects all para children
preceding
                                                                                                                                                             The count function returns the number of nodes in the argument node-
                                                                                   of the context node that have a type attribute with value warning
The preceding axis contains all nodes in the same document as the                                                                                            set.
                                                                                   [para[@type=quot;warningquot;]]
context node that are before the context node in document order,                                                                                             node-set id(object)                                                   § 4.1
                                                                                ?? child::para[attribute::type='warning'][position()=5] selects the
excluding any ancestors and excluding attribute nodes and namespace
                                                                                   fifth para child of the context node that has a type attribute with       The id function selects elements by their unique ID.
nodes.
                                                                                   value warning [para[@type=quot;warningquot;][5]]
                                                                                                                                                             number last()                                                         § 4.1
preceding-sibling                                                               ?? child::para[position()=5][attribute::type=quot;warningquot;] selects the
                                                                                                                                                             The last function returns a number equal to the context size from the
                                                                                   fifth para child of the context node if that child has a type attribute
The preceding-sibling axis contains all the preceding siblings of the
                                                                                                                                                             expression evaluation context.
                                                                                   with value warning [para[5] [@type=quot;warningquot;]]
context node; if the context node is an attribute node or namespace node,
                                                                                ?? child::chapter[child::title='Introduction'] selects the chapter           string local-name(node-set?)                                          § 4.1
the preceding-sibling axis is empty.
                                                                                   children of the context node that have one or more title children with
Example:
                                                                                                                                                             The local-name function returns the local part of the expanded-name of
?? preceding-sibling::chapter[position()=1] selects the previous                   string-value equal to Introduction [chapter[title=quot;Introductionquot;]]
                                                                                                                                                             the node in the argument node-set that is first in document order.
                                                                                ?? child::chapter[child::title] selects the chapter children of the
     chapter sibling of the context node
                                                                                                                                                             string name(node-set?)                                                § 4.1
                                                                                   context node that have one or more title children [chapter[title]]
                            VERTICAL AXIS                                       ?? child::*[self::chapter or self::appendix] selects the chapter and         The name function returns a string containing a QName representing the
                                                                                   appendix children of the context node [chapter|children]
ancestor                                                                                                                                                     expanded-name of the node in the argument node-set that is first in
                                                                                ?? child::*[self::chapter or self::appendix][position()=last()] selects      document order.
The ancestor axis contains the ancestors of the context node; the                  the last chapter or appendix child of the context node                    string namespace-uri(node-set?)                                       § 4.1
ancestors of the context node consist of the parent of context node and            [[chapter|appendix][position()=last()]]
the parent's parent and so on; thus, the ancestor axis will always include                                                                                   The namespace-uri function returns the namespace URI of the expanded-
                                                                                descendant
the root node, unless the context node is the root node.                                                                                                     name of the node in the argument node-set that is first in document
Example:                                                                        The descendant axis contains the descendants of the context node; a          order.
?? ancestor::div selects all div ancestors of the context node                  descendant is a child or a child of a child and so on; thus the descendant
                                                                                                                                                             number position()                                                     § 4.1
                                                                                axis never contains attribute or namespace nodes.
ancestor-or-self
                                                                                                                                                             The position function returns a number equal to the context position from
                                                                                Example:
                                                                                ?? descendant::para selects the para element descendants of the
The ancestor-or-self axis contains the context node and the ancestors of                                                                                     the expression evaluation context.
the context node; thus, the ancestor axis will always include the root               context node [.//para]
                                                                                                                                                                                     STRING FUNCTIONS
node.                                                                           ?? /descendant::para selects all the para elements in the same
Example:                                                                                                                                                     string concat(string, string, string*)                                § 4.2
                                                                                     document as the context node [//para]
?? ancestor-or-self::div selects the div ancestors of the context node          ?? /descendant::olist/child::item selects all the item elements that
                                                                                                                                                             The concat function returns the concatenation of its arguments.
     and, if the context node is a div element, the context node as well             have an olist parent and that are in the same document as the context
child                                                                                node [//olist/item]
The child axis contains the children of the context node.
?? an object of a type other than the four basic types is converted to a
boolean contains(string, string)                                      § 4.2
                                                                                  boolean in a way that is dependent on that type.
The contains function returns true if the first argument string contains the
                                                                               boolean false()                                                      § 4.3
second argument string, and otherwise returns false.
string normalize-space(string?)                                       § 4.2    The false function returns false.
                                                                               boolean lang(string)                                                 § 4.3
The normalize-space function returns the argument string with
whitespace normalized by stripping leading and trailing whitespace and         The lang function returns true or false depending on whether the
replacing sequences of whitespace characters by a single space.                language of the context node as specified by xml:lang attributes is the

                                                                                                                                                                          Quick Reference
boolean starts-with(string, string)                                   § 4.2    same as or is a sublanguage of the language specified by the argument
                                                                               string.
The starts-with function returns true if the first argument string starts
                                                                               boolean not(boolean)                                                 § 4.3
with the second argument string, and otherwise returns false.
string string(object?)                                                § 4.2    The not function returns true if its argument is false, and false otherwise.

                                                                                                                                                                      XML Path Language
                                                                               boolean true()                                                       § 4.3
The string function converts an object to a string:
?? NaN is converted to the string NaN,                                         The true function returns true.
?? positive zero is converted to the string 0,
                                                                                                                                                                           (XPath)
                                                                                                      NUMBER FUNCTIONS
?? negative zero is converted to the string 0,
?? positive infinity is converted to the string Infinity,                                                                                                                              Version 1.0
                                                                               number ceiling(number)                                               § 4.4
?? negative infinity is converted to the string –Infinity,
?? if the number is an integer, the number is represented in decimal           The ceiling function returns the smallest (closest to negative infinity)
                                                                               number that is not less than the argument and that is an integer.
    form as a Number with no decimal point and no leading zeros,
                                                                                                                                                                                   W3C Recommendation
                                                                               number floor(number)                                                 § 4.4
    preceded by a minus sign (-) if the number is negative,
                                                                                                                                                                                    16 November 1999
?? otherwise, the number is represented in decimal form as a Number
                                                                               The floor function returns the largest (closest to positive infinity) number
    including a decimal point with at least one digit before the decimal
                                                                               that is not greater than the argument and that is an integer.
    point and at least one digit after the decimal point, preceded by a
                                                                               number number(object?)                                               § 4.4
    minus sign (-) if the number is negative.
                                                                                                                                                                            http://www.w3.org/TR/xpath/
number string-length(string?)                                         § 4.2    The number function converts its argument to a number:
                                                                               a string that consists of optional whitespace followed by an optional
The string-length returns the number of characters in the string
                                                                               minus sign followed by a Number followed by whitespace is converted
string substring(string, number, number?)                             § 4.2    to the IEEE 754 number that is nearest (according to the IEEE 754              Table of Contents:
                                                                               round-to-nearest rule) to the mathematical value represented by the
The substring function returns the substring of the first argument starting
                                                                                                                                                              Location Paths
                                                                               string; any other string is converted to NaN,
at the position specified in the second argument with length specified in
                                                                                                                                                              · Horizontal Axis
                                                                               ?? boolean true is converted to 1; boolean false is converted to 0,
the third argument.
                                                                                                                                                              · Vertical Axis
                                                                               ?? a node-set is first converted to a string as if by a call to the string
string substring-after(string, string)                                § 4.2
                                                                                     function and then converted in the same way as a string argument,
                                                                                                                                                              Core Function Library
                                                                               ?? an object of a type other than the four basic types is converted to a
The substring-after function returns the substring of the first argument
                                                                                                                                                              · Node Set Functions
string that follows the first occurrence of the second argument string in            number in a way that is dependent on that type.
                                                                                                                                                              · String Functions
the first argument string, or the empty string if the first argument string
                                                                               number round(number)                                                 § 4.4
                                                                                                                                                              · Boolean Functions
does not contain the second argument string.
                                                                                                                                                              · Number Functions
                                                                               The round function returns the number that is closest to the argument and
string substring-before(string, string)                               § 4.2
                                                                               that is an integer.
The substring-before function returns the substring of the first argument
                                                                               number sum(node-set)                                                 § 4.4
string that precedes the first occurrence of the second argument string in
                                                                               The sum function returns the sum, for each node in the argument node-
the first argument string, or the empty string if the first argument string
                                                                               set, of the result of converting the string-values of the node to a number.
does not contain the second argument string.
string translate(string, string, string)                              § 4.2
The translate function returns the first argument string with occurrences
of characters in the second argument string replaced by the character at
the corresponding position in the third argument string.

                       BOOLEAN FUNCTIONS
                                                                                                                                                                                                        deepX Ltd.
boolean boolean(object)                                               § 4.3
                                                                                                                                                                                                         Dublin, Ireland
The boolean function converts its argument to a Boolean:
?? a number is true if and only if it is neither positive or negative zero
                                                                                                                                                                                                        info@deepX.com
    nor NaN,
                                                                                                                                                                                                 http://www.deepX.com/
?? a node-set is true if and only if it is non-empty,
?? a string is true if and only if its length is non-zero,

More Related Content

What's hot

Advance OOP concepts in Python
Advance OOP concepts in PythonAdvance OOP concepts in Python
Advance OOP concepts in PythonSujith Kumar
 
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYAPYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYAMaulik Borsaniya
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with pythonArslan Arshad
 
Ruby — An introduction
Ruby — An introductionRuby — An introduction
Ruby — An introductionGonçalo Silva
 
scalaliftoff2009.pdf
scalaliftoff2009.pdfscalaliftoff2009.pdf
scalaliftoff2009.pdfHiroshi Ono
 
Introduction To Javascript
Introduction To JavascriptIntroduction To Javascript
Introduction To JavascriptRajat Pandit
 
Presentation 3rd
Presentation 3rdPresentation 3rd
Presentation 3rdConnex
 
Action Script
Action ScriptAction Script
Action ScriptAngelin R
 
Object Oriented Programming in PHP
Object Oriented Programming in PHPObject Oriented Programming in PHP
Object Oriented Programming in PHPLorna Mitchell
 
Dependency Breaking Techniques
Dependency Breaking TechniquesDependency Breaking Techniques
Dependency Breaking Techniqueshyun soomyung
 
Core java concepts
Core java  conceptsCore java  concepts
Core java conceptsRam132
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVAAbhilash Nair
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeJie Bao
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonSujith Kumar
 
Oop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalOop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalMichael Stal
 
Core Java Concepts
Core Java ConceptsCore Java Concepts
Core Java Conceptsmdfkhan625
 

What's hot (20)

Advance OOP concepts in Python
Advance OOP concepts in PythonAdvance OOP concepts in Python
Advance OOP concepts in Python
 
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYAPYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
PYTHON-Chapter 3-Classes and Object-oriented Programming: MAULIK BORSANIYA
 
camel-scala.pdf
camel-scala.pdfcamel-scala.pdf
camel-scala.pdf
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with python
 
Ruby — An introduction
Ruby — An introductionRuby — An introduction
Ruby — An introduction
 
Object oriented programming in python
Object oriented programming in pythonObject oriented programming in python
Object oriented programming in python
 
scalaliftoff2009.pdf
scalaliftoff2009.pdfscalaliftoff2009.pdf
scalaliftoff2009.pdf
 
Class introduction in java
Class introduction in javaClass introduction in java
Class introduction in java
 
Introduction To Javascript
Introduction To JavascriptIntroduction To Javascript
Introduction To Javascript
 
Objective c slide I
Objective c slide IObjective c slide I
Objective c slide I
 
Presentation 3rd
Presentation 3rdPresentation 3rd
Presentation 3rd
 
Action Script
Action ScriptAction Script
Action Script
 
Object Oriented Programming in PHP
Object Oriented Programming in PHPObject Oriented Programming in PHP
Object Oriented Programming in PHP
 
Dependency Breaking Techniques
Dependency Breaking TechniquesDependency Breaking Techniques
Dependency Breaking Techniques
 
Core java concepts
Core java  conceptsCore java  concepts
Core java concepts
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 size
 
Basics of Object Oriented Programming in Python
Basics of Object Oriented Programming in PythonBasics of Object Oriented Programming in Python
Basics of Object Oriented Programming in Python
 
Oop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalOop2010 Scala Presentation Stal
Oop2010 Scala Presentation Stal
 
Core Java Concepts
Core Java ConceptsCore Java Concepts
Core Java Concepts
 

Viewers also liked

XIX Международная выставка Тибо-2012.pdf
XIX Международная выставка Тибо-2012.pdfXIX Международная выставка Тибо-2012.pdf
XIX Международная выставка Тибо-2012.pdfArtyukhova
 
Xico,O Ca..
Xico,O Ca..Xico,O Ca..
Xico,O Ca..pesdafg
 
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!Jason Howard
 
Xd '13 april lc day review
Xd '13 april lc day reviewXd '13 april lc day review
Xd '13 april lc day reviewaiesechyderabad
 
XNA L10–Shaders Part 1
XNA L10–Shaders Part 1XNA L10–Shaders Part 1
XNA L10–Shaders Part 1Mohammad Shaker
 
X Foro APD panorama fiscal mercantil y laboral
X Foro APD panorama fiscal mercantil y laboralX Foro APD panorama fiscal mercantil y laboral
X Foro APD panorama fiscal mercantil y laboralCorporate Communications
 
Xeo2 sector secundario.Contidos
Xeo2 sector secundario.ContidosXeo2 sector secundario.Contidos
Xeo2 sector secundario.Contidosaialo1
 
Xiv encontro rede solidaria tríptico con autorización(1)
Xiv encontro rede solidaria tríptico con autorización(1)Xiv encontro rede solidaria tríptico con autorización(1)
Xiv encontro rede solidaria tríptico con autorización(1)satelite1
 
Xerox® WorkCentre® 3615 Black and White Multifunction Printer
Xerox® WorkCentre® 3615 Black and White Multifunction PrinterXerox® WorkCentre® 3615 Black and White Multifunction Printer
Xerox® WorkCentre® 3615 Black and White Multifunction PrinterXerox Global
 
X-functional teams@mobile.de
X-functional teams@mobile.deX-functional teams@mobile.de
X-functional teams@mobile.deJerome Brandt
 
Xiaoli Lu Iscram Summer School
Xiaoli Lu Iscram Summer SchoolXiaoli Lu Iscram Summer School
Xiaoli Lu Iscram Summer SchoolXiaoli LU
 
X decimales
X decimalesX decimales
X decimalesauxihe
 
Xerrada lomce
Xerrada lomceXerrada lomce
Xerrada lomcepicarols
 

Viewers also liked (20)

Xornadas informativas master usc
Xornadas informativas master uscXornadas informativas master usc
Xornadas informativas master usc
 
XIX Международная выставка Тибо-2012.pdf
XIX Международная выставка Тибо-2012.pdfXIX Международная выставка Тибо-2012.pdf
XIX Международная выставка Тибо-2012.pdf
 
Material universal testing machine
Material universal testing machine Material universal testing machine
Material universal testing machine
 
Xico,O Ca..
Xico,O Ca..Xico,O Ca..
Xico,O Ca..
 
Tension and Elongation rate tester
Tension and Elongation rate testerTension and Elongation rate tester
Tension and Elongation rate tester
 
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!
What is Xplocial? | How to Earn a 6 Figure Income in 6 Weeks!
 
X-Muse
X-MuseX-Muse
X-Muse
 
Xd '13 april lc day review
Xd '13 april lc day reviewXd '13 april lc day review
Xd '13 april lc day review
 
XNA L10–Shaders Part 1
XNA L10–Shaders Part 1XNA L10–Shaders Part 1
XNA L10–Shaders Part 1
 
X Foro APD panorama fiscal mercantil y laboral
X Foro APD panorama fiscal mercantil y laboralX Foro APD panorama fiscal mercantil y laboral
X Foro APD panorama fiscal mercantil y laboral
 
Xeo2 sector secundario.Contidos
Xeo2 sector secundario.ContidosXeo2 sector secundario.Contidos
Xeo2 sector secundario.Contidos
 
X''d (1)
X''d (1)X''d (1)
X''d (1)
 
Xiv encontro rede solidaria tríptico con autorización(1)
Xiv encontro rede solidaria tríptico con autorización(1)Xiv encontro rede solidaria tríptico con autorización(1)
Xiv encontro rede solidaria tríptico con autorización(1)
 
Xerox® WorkCentre® 3615 Black and White Multifunction Printer
Xerox® WorkCentre® 3615 Black and White Multifunction PrinterXerox® WorkCentre® 3615 Black and White Multifunction Printer
Xerox® WorkCentre® 3615 Black and White Multifunction Printer
 
X-functional teams@mobile.de
X-functional teams@mobile.deX-functional teams@mobile.de
X-functional teams@mobile.de
 
Xiaoli Lu Iscram Summer School
Xiaoli Lu Iscram Summer SchoolXiaoli Lu Iscram Summer School
Xiaoli Lu Iscram Summer School
 
X decimales
X decimalesX decimales
X decimales
 
Xie Hobgood Language Learning Through Technology
Xie Hobgood Language Learning Through TechnologyXie Hobgood Language Learning Through Technology
Xie Hobgood Language Learning Through Technology
 
Xerrada lomce
Xerrada lomceXerrada lomce
Xerrada lomce
 
Xo y pc
Xo y pcXo y pc
Xo y pc
 

More from 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
 

More from 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
 

Recently uploaded

Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Xml Path Language1.0

  • 1. ?? /descendant::figure[position()=42] selects the forty-second figure HORIZONTAL AXIS Examples: ?? child::para selects the para element children of the context node element in the document [//figure[position()=42]] attribute [para] descendant-or-self ?? child::* selects all element children of the context node [*] The attribute axis contains the attributes of the context node; the axis will The descendant-or-self axis contains the context node and the ?? child::text() selects all text node children of the context node be empty unless the context node is an element. descendants of the context node. Examples: [text()] Example: ?? attribute::name selects the name attribute of the context node ?? child::node() selects all the children of the context node, whatever ?? descendant-or-self::para selects the para element descendants of [@name] their node type the context node and, if the context node is a para element, the ?? attribute::* selects all the attributes of the context node [@*] ?? child::chapter/descendant::para selects the para element context node as well descendants of the chapter element children of the context node following parent [chapter//para] The following axis contains all nodes in the same document as the ?? child::*/child::para selects all para grandchildren of the context The parent axis contains the parent of the context node, if there is one. context node that are after the context node in document order, excluding node [*/para] Example: any descendants and excluding attribute nodes and namespace nodes. ?? child::para[position()=1] selects the first para child of the context ?? parent:: select the parent element [..] following-sibling node [para[position()=1]] ?? / selects the document root (which is always the parent of the ?? child::para[position()=last()] selects the last para child of the The following-sibling axis contains all the following siblings of the document element) [//] context node [para[position()=last()]] context node; if the context node is an attribute node or namespace node, self ?? child::para[position()=last()-1] selects the last but one para child of the following-sibling axis is empty. The self axis contains just the context node itself. the context node [para[position()=last()-1]] Example: ?? child::para[position()>1] selects all the para children of the context Example: ?? following-sibling::chapter[position()=1] selects the next chapter ?? self::para selects the context node if it is a para element, and node other than the first para child of the context node sibling of the context node otherwise selects nothing [.] [para[position()>1]] namespace ?? /child::doc/child::chapter[position()=5]/child::section[position() NODE SET FUNCTIONS The namespace axis contains the namespace nodes of the context node; =2] selects the second section of the fifth chapter of the doc the axis will be empty unless the context node is an element. number count(node-set?) § 4.1 document element [/doc/chapter[5]/section[2]] ?? child::para[attribute::type=quot;warningquot;] selects all para children preceding The count function returns the number of nodes in the argument node- of the context node that have a type attribute with value warning The preceding axis contains all nodes in the same document as the set. [para[@type=quot;warningquot;]] context node that are before the context node in document order, node-set id(object) § 4.1 ?? child::para[attribute::type='warning'][position()=5] selects the excluding any ancestors and excluding attribute nodes and namespace fifth para child of the context node that has a type attribute with The id function selects elements by their unique ID. nodes. value warning [para[@type=quot;warningquot;][5]] number last() § 4.1 preceding-sibling ?? child::para[position()=5][attribute::type=quot;warningquot;] selects the The last function returns a number equal to the context size from the fifth para child of the context node if that child has a type attribute The preceding-sibling axis contains all the preceding siblings of the expression evaluation context. with value warning [para[5] [@type=quot;warningquot;]] context node; if the context node is an attribute node or namespace node, ?? child::chapter[child::title='Introduction'] selects the chapter string local-name(node-set?) § 4.1 the preceding-sibling axis is empty. children of the context node that have one or more title children with Example: The local-name function returns the local part of the expanded-name of ?? preceding-sibling::chapter[position()=1] selects the previous string-value equal to Introduction [chapter[title=quot;Introductionquot;]] the node in the argument node-set that is first in document order. ?? child::chapter[child::title] selects the chapter children of the chapter sibling of the context node string name(node-set?) § 4.1 context node that have one or more title children [chapter[title]] VERTICAL AXIS ?? child::*[self::chapter or self::appendix] selects the chapter and The name function returns a string containing a QName representing the appendix children of the context node [chapter|children] ancestor expanded-name of the node in the argument node-set that is first in ?? child::*[self::chapter or self::appendix][position()=last()] selects document order. The ancestor axis contains the ancestors of the context node; the the last chapter or appendix child of the context node string namespace-uri(node-set?) § 4.1 ancestors of the context node consist of the parent of context node and [[chapter|appendix][position()=last()]] the parent's parent and so on; thus, the ancestor axis will always include The namespace-uri function returns the namespace URI of the expanded- descendant the root node, unless the context node is the root node. name of the node in the argument node-set that is first in document Example: The descendant axis contains the descendants of the context node; a order. ?? ancestor::div selects all div ancestors of the context node descendant is a child or a child of a child and so on; thus the descendant number position() § 4.1 axis never contains attribute or namespace nodes. ancestor-or-self The position function returns a number equal to the context position from Example: ?? descendant::para selects the para element descendants of the The ancestor-or-self axis contains the context node and the ancestors of the expression evaluation context. the context node; thus, the ancestor axis will always include the root context node [.//para] STRING FUNCTIONS node. ?? /descendant::para selects all the para elements in the same Example: string concat(string, string, string*) § 4.2 document as the context node [//para] ?? ancestor-or-self::div selects the div ancestors of the context node ?? /descendant::olist/child::item selects all the item elements that The concat function returns the concatenation of its arguments. and, if the context node is a div element, the context node as well have an olist parent and that are in the same document as the context child node [//olist/item] The child axis contains the children of the context node.
  • 2. ?? an object of a type other than the four basic types is converted to a boolean contains(string, string) § 4.2 boolean in a way that is dependent on that type. The contains function returns true if the first argument string contains the boolean false() § 4.3 second argument string, and otherwise returns false. string normalize-space(string?) § 4.2 The false function returns false. boolean lang(string) § 4.3 The normalize-space function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and The lang function returns true or false depending on whether the replacing sequences of whitespace characters by a single space. language of the context node as specified by xml:lang attributes is the Quick Reference boolean starts-with(string, string) § 4.2 same as or is a sublanguage of the language specified by the argument string. The starts-with function returns true if the first argument string starts boolean not(boolean) § 4.3 with the second argument string, and otherwise returns false. string string(object?) § 4.2 The not function returns true if its argument is false, and false otherwise. XML Path Language boolean true() § 4.3 The string function converts an object to a string: ?? NaN is converted to the string NaN, The true function returns true. ?? positive zero is converted to the string 0, (XPath) NUMBER FUNCTIONS ?? negative zero is converted to the string 0, ?? positive infinity is converted to the string Infinity, Version 1.0 number ceiling(number) § 4.4 ?? negative infinity is converted to the string –Infinity, ?? if the number is an integer, the number is represented in decimal The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer. form as a Number with no decimal point and no leading zeros, W3C Recommendation number floor(number) § 4.4 preceded by a minus sign (-) if the number is negative, 16 November 1999 ?? otherwise, the number is represented in decimal form as a Number The floor function returns the largest (closest to positive infinity) number including a decimal point with at least one digit before the decimal that is not greater than the argument and that is an integer. point and at least one digit after the decimal point, preceded by a number number(object?) § 4.4 minus sign (-) if the number is negative. http://www.w3.org/TR/xpath/ number string-length(string?) § 4.2 The number function converts its argument to a number: a string that consists of optional whitespace followed by an optional The string-length returns the number of characters in the string minus sign followed by a Number followed by whitespace is converted string substring(string, number, number?) § 4.2 to the IEEE 754 number that is nearest (according to the IEEE 754 Table of Contents: round-to-nearest rule) to the mathematical value represented by the The substring function returns the substring of the first argument starting Location Paths string; any other string is converted to NaN, at the position specified in the second argument with length specified in · Horizontal Axis ?? boolean true is converted to 1; boolean false is converted to 0, the third argument. · Vertical Axis ?? a node-set is first converted to a string as if by a call to the string string substring-after(string, string) § 4.2 function and then converted in the same way as a string argument, Core Function Library ?? an object of a type other than the four basic types is converted to a The substring-after function returns the substring of the first argument · Node Set Functions string that follows the first occurrence of the second argument string in number in a way that is dependent on that type. · String Functions the first argument string, or the empty string if the first argument string number round(number) § 4.4 · Boolean Functions does not contain the second argument string. · Number Functions The round function returns the number that is closest to the argument and string substring-before(string, string) § 4.2 that is an integer. The substring-before function returns the substring of the first argument number sum(node-set) § 4.4 string that precedes the first occurrence of the second argument string in The sum function returns the sum, for each node in the argument node- the first argument string, or the empty string if the first argument string set, of the result of converting the string-values of the node to a number. does not contain the second argument string. string translate(string, string, string) § 4.2 The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. BOOLEAN FUNCTIONS deepX Ltd. boolean boolean(object) § 4.3 Dublin, Ireland The boolean function converts its argument to a Boolean: ?? a number is true if and only if it is neither positive or negative zero info@deepX.com nor NaN, http://www.deepX.com/ ?? a node-set is true if and only if it is non-empty, ?? a string is true if and only if its length is non-zero,