BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XSLT
The XSLT Element: xsl:include
The XSLT Element: xsl:import
The XSLT Element: xsl:if
The XSLT Element: xsl:for-each
The XSLT Element: xsl:fallback
The XSLT Element: xsl:element
The XSLT Element: xsl:document
The XSLT Element: xsl:decimal-format
The XSLT Element: xsl:copy
The XSLT Element: xsl:copy-of
The XSLT Element: xsl:comment
The XSLT Element: xsl:choose
The XSLT Element: xsl:call-template
The XSLT Element: xsl:attribute
The XSLT Element: xsl:attribute-set
The XSLT Element: xsl:apply-templates
The XSLT Element: xsl:apply-imports
The XSLT Element: msxml:script
XPath Reference
XSLT Reference
<< 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 :1590

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

Element: xsl:key

Can be used to create index-like structures that can be queried from the key function. It basically is a way to describe name/value pairs inside the source document (like a Dictionary object in VB or an associative array in Perl). Only in XSLT, more than one value can be found for one key and the same value can be accessed by multiple keys.
Attributes
name
Type:qname
The name that can be used to refer to this key.
match
Type:pattern
The pattern defines which nodes in the source document can be accessed using this key. In the name/value pair analogy, this would be the definition of the value.
use
Type:expression
This expression defines what the key for accessing each value would be. Example: if an element PERSON is matched by the match attribute and the use attribute equals "@name", the key function can be used to find this specific PERSON element by passing the value of its name attribute.
ImplementedW3C 1.0 specification (recommendation)
MSXML 3.0
MSXML 4.0
XML classes in .NET Framework class library
Can contain
Can be contained by[xsl:stylesheet] [xsl:transform]
Examples[Creating a summary of author sales for a publisher] [Creating listboxes and checkboxes using parameters] [Creating listboxes and checkboxes using variables]

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

A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En
A Greate Opportunituy as a SQL Deve
An immediate job opportunity as a B

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



Information Online

swimming pool builder
chicago web site design
online fax
Cheap Web Hosting
online faxing
Giorgio armani sunglasses
answering 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