XSLT Functions, XSLT Tutorial, Global Guideline

Bookmark Bookmark: XSLT Functions, XSLT Tutorial
Forum | Blog


      Home                    

Basic XSLT Tutorial.     
 XSLT Introduction.          
 XSLT Templates.            
 XSLT Attributes.              
 XSLT Transformation.     
 XSLT Variables.              
 XSLT Formatting.            
 XSLT Loops.                   
 XSLT Sorting.                 
 XSLT Conditions.             
 XSLT Multi Selection.     
 XSLT Functions.
 XSLT Copying.                
 XSLT Combining.           
 XSLT Summary.              

XSLT Tutorial >> XSLT Functions.


     Back             Next     



XSLT covers more then 100 built-in functions. There are functions for string values, numeric values, date and time comparison, node, sequence manipulation, Boolean value, generate random id and much more.

The URI for the XSLT functions namespace is: https://www.w3.org/2005/02/xpath-functions

Default prefix for the XSLT Functions namespace is used as fn.

XSLT Functions are often called with the fn prefix, such as fn:document(). However, since fn: is the default prefix of the namespace, the function names do not need to be prefixed when called in XSLT.

XSLT Tutorial section of built-in XSLT functions.
Function Name Function Description
current() Current function in XSLT returns the current node of XML
document() Document function in XSLT used to access the nodes in an external XML document
element-available() Element Available tests whether the element specified is supported by the XSLT processor or not.
format-number() Format Number converts a number into a string.
function-available() Function Available tests whether the function specified in XSLT is supported by the XSLT processor or not.
generate-id() Generate ID returns a string value that uniquely identifies a specified node.
key() Key function in XSLT returns a node-set using the index specified by an <xsl:key> element
system-property() System property function in XSLT returns the value of the system properties.
unparsed-entity-uri() Unparsed entity URI function in XSLT returns the URI of an unparsed entity.

Viewing XML Files in Firefox and Internet Explorer Browsers.

Open the XML file simply by double click - Then the XML document will be displayed with color-coded root and child elements. Plus (+) or Minus mark (-) to the left of the all elements can be clicked to expand or collapse the element structure. To view the raw XML source of any XML document without the + and - signs, select "View Page Source" or "View Source" from the browser menu of you opened browser.

Viewing XML Files in Netscape Navigator.

Open the XML file in Netscape Navigator, then right-click in XML document and select "View Page Source". The XML file will then be displayed with color-coded root and child elements.

Viewing Files of XML in Opera 7.

Open the XML file in Opera browser, then right-click in XML document and select "Frame" / "View Source". The XML document will be displayed as plain text file with XML coiding..

     Back             Next     
 

[ About ] [ Contact ] [ Home ]
[ Links ] [ Site Map ] [ Services ] [ Privacy ]

Copyright 2005 -  2018 www.globalguideline.com All rights reserved. (Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher) 199 visitors are online now