BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XSLT
The XPath Function: string substring-after ( string, string )
The XPath Function: string string ( object? )
The XPath Function: number string-length ( string? )
The XPath Function: boolean starts-with ( string, string )
The XPath Function: number round ( number )
The XPath Function: number position ( )
The XPath Function: number number ( object? )
The XPath Function: boolean not ( boolean )
The XPath Function: string normalize-space ( string? )
The XPath Function: string namespace-uri ( node-set? )
The XPath Function: string name ( node-set? )
The XPath Function: string local-name ( node-set? )
The XPath Function: number last ( )
The XPath Function: boolean lang ( string )
The XPath Function: node-set key ( string, object )
The XPath Function: node-set id ( string )
The XPath Function: node-set generate-id ( node-set? )
The XPath Function: boolean function-available ( string )
The XPath Function: string format-number ( number, string, string? )
The XPath Function: number floor ( number )
<< XQuery
.NET and XML >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1263

 
[XSLT Reference] [XPath Reference] [Download Reference Download this Reference]

Function: string substring-before ( string, string )

Returns the string part preceding the first occurence of the second passed string inside the first passed string. The return value of substring-before('2000/3/22', '/') would be '2000'.
Parameters
Parameter 1: string
The string that serves as source
Parameter 2: string
The string that is searched in the source string
ImplementedW3C 1.0 specification (recommendation)
MSXML 2.6 (January 2000 preview)
MSXML 3.0
MSXML 4.0
XML classes in .NET Framework class library
Examples

Note: You can now download the full content of the XPath reference, the XSLT reference and the DOM reference in one PDF document. This document contains the implementation tables, internal links to navigate through the references, a full linked table of contents. You can use free text search through the whole reference or print as a nicely formatted document. Download here...

© 2000 Teun Duynstee. Shown on TopXML.com. Information used from XSLT and XPath recommendations © W3C and MSDN documentation © Microsoft.
Do you have comments, additions or suggestions, mail me.

Rate this article on a scale of 1 to 10

Your vote :  


 

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)



conference calls
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses
UK Web Design
conference call service


    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