BizTalk Utilities CV ,   Jobs ,   Code library  
 
 
Page 7 of 28

 

Previous Page Table Of Contents Next Page

XSLT Tutorial

XPath: Expressions

Expressions

Filter patterns can consist of expressions, such as booleans (and, or, etc.), substring and others. These expressions are found as the expression in the predicate or they can stand on their own.

Types of Expressions:

Node-sets

Expressions return a node-set selected by the operators, path locations and filters used in the query.

and, or logical and, or
= equal to
!= not equal to
>, >= greater than, greater than or equal to
<, <= less than, less than or equal to
Remember to code the < character as the XML entity &lt; in the XSL file.
+, -, *, div addition, subtraction, multiply, divide
mod modular, returns the integer remainder of a division
| Computes (unions) two node sets

For example:

article[author="Jones" and author="Scott"]
 
This returns article nodes where the author is Jones and Scott
    It may be necessary to code the quote marks as apostrophe (single quote mark).

article|book
 
This returns article and book nodes using a compute (union).

 

Page 7 of 28

 

Previous Page Table Of Contents Next Page
 

Recent Jobs

Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C
Immediate ASP.NET/C# Openings for C
Sr. Software Engineer

View all Jobs (Add yours)
View all CV (Add yours)



halloween mask
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses
UK Hosting Resellers
fax server


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP