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/
Made with Libxml2 Logo
Module xlink from libxml2
API Menu
../index.html
Main Menu
../docs.html
Developer Menu
../examples/index.html
Code Examples
index.html
API Menu
libxml-parser.html
Parser API
libxml-tree.html
Tree API
libxml-xmlreader.html
Reader API
../guidelines.html
XML Guidelines
../ChangeLog.html
ChangeLog
API Indexes
../APIchunk0.html
Alphabetic
../APIconstructors.html
Constructors
../APIfunctions.html
Functions/Types
../APIfiles.html
Modules
../APIsymbols.html
Symbols
Related links
http://mail.gnome.org/archives/xml/
Mail archive
http://xmlsoft.org/XSLT/
XSLT libxslt
http://phd.cs.unibo.it/gdome2/
DOM gdome2
http://www.aleksey.com/xmlsec/
XML-DSig xmlsec
ftp://xmlsoft.org/
FTP
http://www.zlatkovic.com/projects/libxml/
Windows binaries
http://www.blastwave.org/packages.php/libxml2
Solaris binaries
http://www.explain.com.au/oss/libxml2xslt.html
MacOsX binaries
http://libxmlplusplus.sourceforge.net/
C++ bindings
http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4
PHP bindings
http://sourceforge.net/projects/libxml2-pas/
Pascal bindings
http://rubyforge.org/projects/xml-tools/
Ruby bindings
http://tclxml.sourceforge.net/
Tcl bindings
http://bugzilla.gnome.org/buglist.cgi?product=libxml2
Bug Tracker
libxml-xinclude.html
Prev
libxml-xinclude.html
xinclude
index.html
Up
index.html
API documentation
../index.html
Home
../index.html
The XML C parser and toolkit of Gnome
libxml-xmlIO.html
xmlIO
libxml-xmlIO.html
Next
unfinished XLink detection module
Table of Contents
Enum
#xlinkActuate
xlinkActuate
Typedef
libxml-xmlstring.html#xmlChar
xmlChar
*
xlinkHRef
Structure
#xlinkHandler
xlinkHandler
struct _xlinkHandler
Typedef
libxml-xlink.html#xlinkHandler
xlinkHandler
*
xlinkHandlerPtr
Typedef
libxml-xmlstring.html#xmlChar
xmlChar
*
xlinkRole
Enum
#xlinkShow
xlinkShow
Typedef
libxml-xmlstring.html#xmlChar
xmlChar
*
xlinkTitle
Enum
#xlinkType
xlinkType
Function type:
#xlinkExtendedLinkFunk
xlinkExtendedLinkFunk
void
#xlinkExtendedLinkFunk
xlinkExtendedLinkFunk
(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
int nbLocators,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
* hrefs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* roles,
int nbArcs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* from,
const
libxml-xlink.html#xlinkRole
xlinkRole
* to,
libxml-xlink.html#xlinkShow
xlinkShow
* show,
libxml-xlink.html#xlinkActuate
xlinkActuate
* actuate,
int nbTitles,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
* titles,
const
libxml-xmlstring.html#xmlChar
xmlChar
** langs)
Function type:
#xlinkExtendedLinkSetFunk
xlinkExtendedLinkSetFunk
void
#xlinkExtendedLinkSetFunk
xlinkExtendedLinkSetFunk
(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
int nbLocators,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
* hrefs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* roles,
int nbTitles,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
* titles,
const
libxml-xmlstring.html#xmlChar
xmlChar
** langs)
libxml-xlink.html#xlinkNodeDetectFunc
xlinkNodeDetectFunc
#xlinkGetDefaultDetect
xlinkGetDefaultDetect
(void)
libxml-xlink.html#xlinkHandlerPtr
xlinkHandlerPtr
#xlinkGetDefaultHandler
xlinkGetDefaultHandler
(void)
libxml-xlink.html#xlinkType
xlinkType
#xlinkIsLink
xlinkIsLink
(
libxml-tree.html#xmlDocPtr
xmlDocPtr
doc,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node)
Function type:
#xlinkNodeDetectFunc
xlinkNodeDetectFunc
void
#xlinkNodeDetectFunc
xlinkNodeDetectFunc
(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node)
void
#xlinkSetDefaultDetect
xlinkSetDefaultDetect
(
libxml-xlink.html#xlinkNodeDetectFunc
xlinkNodeDetectFunc
func)
void
#xlinkSetDefaultHandler
xlinkSetDefaultHandler
(
libxml-xlink.html#xlinkHandlerPtr
xlinkHandlerPtr
handler)
Function type:
#xlinkSimpleLinkFunk
xlinkSimpleLinkFunk
void
#xlinkSimpleLinkFunk
xlinkSimpleLinkFunk
(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
href,
const
libxml-xlink.html#xlinkRole
xlinkRole
role,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
title)
Description
Enum
xlinkActuate
Enum xlinkActuate {
XLINK_ACTUATE_NONE
= 0
XLINK_ACTUATE_AUTO
= 1
XLINK_ACTUATE_ONREQUEST
= 2
}
Structure xlinkHandler
Structure xlinkHandler
struct _xlinkHandler {
libxml-xlink.html#xlinkSimpleLinkFunk
xlinkSimpleLinkFunk
simple
libxml-xlink.html#xlinkExtendedLinkFunk
xlinkExtendedLinkFunk
extended
libxml-xlink.html#xlinkExtendedLinkSetFunk
xlinkExtendedLinkSetFunk
set
}
Enum
xlinkShow
Enum xlinkShow {
XLINK_SHOW_NONE
= 0
XLINK_SHOW_NEW
= 1
XLINK_SHOW_EMBED
= 2
XLINK_SHOW_REPLACE
= 3
}
Enum
xlinkType
Enum xlinkType {
XLINK_TYPE_NONE
= 0
XLINK_TYPE_SIMPLE
= 1
XLINK_TYPE_EXTENDED
= 2
XLINK_TYPE_EXTENDED_SET
= 3
}
Function type: xlinkExtendedLinkFunk
Function type: xlinkExtendedLinkFunk
void	xlinkExtendedLinkFunk		(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
int nbLocators,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
* hrefs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* roles,
int nbArcs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* from,
const
libxml-xlink.html#xlinkRole
xlinkRole
* to,
libxml-xlink.html#xlinkShow
xlinkShow
* show,
libxml-xlink.html#xlinkActuate
xlinkActuate
* actuate,
int nbTitles,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
* titles,
const
libxml-xmlstring.html#xmlChar
xmlChar
** langs)
This is the prototype for a extended link detection callback.
ctx
:
user data pointer
node
:
the node carrying the link
nbLocators
:
the number of locators detected on the link
hrefs
:
pointer to the array of locator hrefs
roles
:
pointer to the array of locator roles
nbArcs
:
the number of arcs detected on the link
from
:
pointer to the array of source roles found on the arcs
to
:
pointer to the array of target roles found on the arcs
show
:
array of values for the show attributes found on the arcs
actuate
:
array of values for the actuate attributes found on the arcs
nbTitles
:
the number of titles detected on the link
titles
:
langs
:
array of xml:lang values for the titles
Function type: xlinkExtendedLinkSetFunk
Function type: xlinkExtendedLinkSetFunk
void	xlinkExtendedLinkSetFunk	(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
int nbLocators,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
* hrefs,
const
libxml-xlink.html#xlinkRole
xlinkRole
* roles,
int nbTitles,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
* titles,
const
libxml-xmlstring.html#xmlChar
xmlChar
** langs)
This is the prototype for a extended link set detection callback.
ctx
:
user data pointer
node
:
the node carrying the link
nbLocators
:
the number of locators detected on the link
hrefs
:
pointer to the array of locator hrefs
roles
:
pointer to the array of locator roles
nbTitles
:
the number of titles detected on the link
titles
:
langs
:
array of xml:lang values for the titles
Function: xlinkGetDefaultDetect
libxml-xlink.html#xlinkNodeDetectFunc
xlinkNodeDetectFunc
xlinkGetDefaultDetect	(void)
Get the default xlink detection routine
Returns
:
the current function or NULL;
Function: xlinkGetDefaultHandler
libxml-xlink.html#xlinkHandlerPtr
xlinkHandlerPtr
xlinkGetDefaultHandler	(void)
Get the default xlink handler.
Returns
:
the current
libxml-xlink.html#xlinkHandlerPtr
xlinkHandlerPtr
value.
Function: xlinkIsLink
libxml-xlink.html#xlinkType
xlinkType
xlinkIsLink		(
libxml-tree.html#xmlDocPtr
xmlDocPtr
doc,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node)
Check whether the given node carries the attributes needed to be a link element (or is one of the linking elements issued from the (X)HTML DtDs). This routine don't try to do full checking of the link validity but tries to detect and return the appropriate link type.
doc
:
the document containing the node
node
:
the node pointer itself
Returns
:
the
libxml-xlink.html#xlinkType
xlinkType
of the node (XLINK_TYPE_NONE if there is no link detected.
Function type: xlinkNodeDetectFunc
Function type: xlinkNodeDetectFunc
void	xlinkNodeDetectFunc		(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node)
This is the prototype for the link detection routine. It calls the default link detection callbacks upon link detection.
ctx
:
user data pointer
node
:
the node to check
Function: xlinkSetDefaultDetect
void	xlinkSetDefaultDetect		(
libxml-xlink.html#xlinkNodeDetectFunc
xlinkNodeDetectFunc
func)
Set the default xlink detection routine
func
:
pointer to the new detection routine.
Function: xlinkSetDefaultHandler
void	xlinkSetDefaultHandler		(
libxml-xlink.html#xlinkHandlerPtr
xlinkHandlerPtr
handler)
Set the default xlink handlers
handler
:
the new value for the xlink handler block
Function type: xlinkSimpleLinkFunk
Function type: xlinkSimpleLinkFunk
void	xlinkSimpleLinkFunk		(void * ctx,
libxml-tree.html#xmlNodePtr
xmlNodePtr
node,
const
libxml-xlink.html#xlinkHRef
xlinkHRef
href,
const
libxml-xlink.html#xlinkRole
xlinkRole
role,
const
libxml-xlink.html#xlinkTitle
xlinkTitle
title)
This is the prototype for a simple link detection callback.
ctx
:
user data pointer
node
:
the node carrying the link
href
:
the target of the link
role
:
the role string
title
:
the link title
../bugs.html
Daniel Veillard
