http://swpat.ffii.org/
Action against software patents
http://www.gnome.org/
Gnome2 Logo
http://www.w3.org/Status
W3C logo
http://www.redhat.com
Red Hat Logo
http://xmlsoft.org/XSLT/
Made with Libxslt Logo
The XSLT C library for Gnome
Module keys from libxslt
API Menu
../index.html
Main Menu
../docs.html
Developer Menu
index.html
API Menu
../ChangeLog.html
ChangeLog
Related links
http://mail.gnome.org/archives/xslt/
Mail archive
http://xmlsoft.org/
XML libxml2
ftp://xmlsoft.org/
FTP
http://www.zlatkovic.com/projects/libxml/
Windows binaries
http://garypennington.net/libxml2/
Solaris binaries
http://www.zveno.com/open_source/libxml2xslt.html
MacOsX binaries
http://bugzilla.gnome.org/buglist.cgi?product=libxslt
Bug Tracker
http://www.zend.com/php5/articles/php5-xmlphp.php#Heading17
XSLT with PHP
http://www.mod-xslt2.com/
Apache module
http://sourceforge.net/projects/libxml2-pas/
Pascal bindings
http://xsldbg.sourceforge.net/
Xsldbg Debugger
API Indexes
../APIchunk0.html
Alphabetic
../APIconstructors.html
Constructors
../APIfunctions.html
Functions/Types
../APIfiles.html
Modules
../APIsymbols.html
Symbols
libxslt-imports.html
Prev
libxslt-imports.html
imports
index.html
Up
index.html
API documentation
../index.html
Home
../index.html
Home
libxslt-namespaces.html
namespaces
libxslt-namespaces.html
Next
implementation of the key mechanims.
Table of Contents
#define
#NODE_IS_KEYED
NODE_IS_KEYED
int
#xsltAddKey
xsltAddKey
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
const xmlChar * name,
const xmlChar * nameURI,
const xmlChar * match,
const xmlChar * use,
xmlNodePtr inst)
void
#xsltFreeDocumentKeys
xsltFreeDocumentKeys
(
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
doc)
void
#xsltFreeKeys
xsltFreeKeys
(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style)
xmlNodeSetPtr
#xsltGetKey
xsltGetKey
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
const xmlChar * name,
const xmlChar * nameURI,
const xmlChar * value)
void
#xsltInitCtxtKeys
xsltInitCtxtKeys
(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
doc)
Description
Macro: NODE_IS_KEYED
#define NODE_IS_KEYED
Function: xsltAddKey
int	xsltAddKey			(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style,
const xmlChar * name,
const xmlChar * nameURI,
const xmlChar * match,
const xmlChar * use,
xmlNodePtr inst)
add a key definition to a stylesheet
style
:
an XSLT stylesheet
name
:
the key name or NULL
nameURI
:
the name URI or NULL
match
:
the match value
use
:
the use value
inst
:
the key instruction
Returns
:
0 in case of success, and -1 in case of failure.
Function: xsltFreeDocumentKeys
void	xsltFreeDocumentKeys		(
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
doc)
Free the keys associated to a document
doc
:
a XSLT document
Function: xsltFreeKeys
void	xsltFreeKeys			(
libxslt-xsltInternals.html#xsltStylesheetPtr
xsltStylesheetPtr
style)
Free up the memory used by XSLT keys in a stylesheet
style
:
an XSLT stylesheet
Function: xsltGetKey
xmlNodeSetPtr	xsltGetKey		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
const xmlChar * name,
const xmlChar * nameURI,
const xmlChar * value)
Lookup a key
ctxt
:
an XSLT transformation context
name
:
the key name or NULL
nameURI
:
the name URI or NULL
value
:
the key value to look for
Returns
:
the nodeset resulting from the query or NULL
Function: xsltInitCtxtKeys
void	xsltInitCtxtKeys		(
libxslt-xsltInternals.html#xsltTransformContextPtr
xsltTransformContextPtr
ctxt,
libxslt-xsltInternals.html#xsltDocumentPtr
xsltDocumentPtr
doc)
Computes all the keys tables for the current input document. Should be done before global varibales are initialized.
ctxt
:
an XSLT transformation context
doc
:
an XSLT document
../bugs.html
Daniel Veillard
