http://swpat.ffii.org/Action against software patents http://www.gnome.org/Gnome2 Logo http://www.w3.org/StatusW3C Logo http://www.redhat.com/Red Hat Logo http://xmlsoft.org/Made with Libxml2 Logo 
Module xlink from libxml2
API Menu ../index.htmlMain Menu ../docs.htmlDeveloper Menu ../examples/index.htmlCode Examples index.htmlAPI Menu libxml-parser.htmlParser API libxml-tree.htmlTree API libxml-xmlreader.htmlReader API ../guidelines.htmlXML Guidelines ../ChangeLog.htmlChangeLog API Indexes ../APIchunk0.htmlAlphabetic ../APIconstructors.htmlConstructors ../APIfunctions.htmlFunctions/Types ../APIfiles.htmlModules ../APIsymbols.htmlSymbols 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/libxml2Solaris binaries http://www.explain.com.au/oss/libxml2xslt.htmlMacOsX binaries http://libxmlplusplus.sourceforge.net/C++ bindings http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4PHP 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=libxml2Bug Tracker libxml-xinclude.htmlPrev libxml-xinclude.htmlxinclude index.htmlUp index.htmlAPI documentation ../index.htmlHome ../index.htmlThe XML C parser and toolkit of Gnome libxml-xmlIO.htmlxmlIO libxml-xmlIO.htmlNext unfinished XLink detection module 
Table of Contents
Enum #xlinkActuatexlinkActuate Typedef libxml-xmlstring.html#xmlCharxmlChar  * xlinkHRef Structure #xlinkHandlerxlinkHandler struct _xlinkHandler
Typedef libxml-xlink.html#xlinkHandlerxlinkHandler  * xlinkHandlerPtr Typedef libxml-xmlstring.html#xmlCharxmlChar  * xlinkRole Enum #xlinkShowxlinkShow Typedef libxml-xmlstring.html#xmlCharxmlChar  * xlinkTitle Enum #xlinkTypexlinkType Function type: #xlinkExtendedLinkFunkxlinkExtendedLinkFunk void	
#xlinkExtendedLinkFunkxlinkExtendedLinkFunk 		(void * ctx, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int nbLocators, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  * hrefs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * roles, 					 int nbArcs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * from, 					 const libxml-xlink.html#xlinkRolexlinkRole  * to, 					 libxml-xlink.html#xlinkShowxlinkShow  * show, 					 libxml-xlink.html#xlinkActuatexlinkActuate  * actuate, 					 int nbTitles, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  * titles, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** langs)
Function type: #xlinkExtendedLinkSetFunkxlinkExtendedLinkSetFunk void	
#xlinkExtendedLinkSetFunkxlinkExtendedLinkSetFunk 	(void * ctx, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 int nbLocators, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  * hrefs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * roles, 					 int nbTitles, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  * titles, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** langs)
libxml-xlink.html#xlinkNodeDetectFuncxlinkNodeDetectFunc 	#xlinkGetDefaultDetectxlinkGetDefaultDetect 	(void) libxml-xlink.html#xlinkHandlerPtrxlinkHandlerPtr 	#xlinkGetDefaultHandlerxlinkGetDefaultHandler 	(void) libxml-xlink.html#xlinkTypexlinkType 	#xlinkIsLinkxlinkIsLink 		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node)Function type: #xlinkNodeDetectFuncxlinkNodeDetectFunc void	
#xlinkNodeDetectFuncxlinkNodeDetectFunc 		(void * ctx, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node)
void	#xlinkSetDefaultDetectxlinkSetDefaultDetect 		( libxml-xlink.html#xlinkNodeDetectFuncxlinkNodeDetectFunc  func)void	#xlinkSetDefaultHandlerxlinkSetDefaultHandler 		( libxml-xlink.html#xlinkHandlerPtrxlinkHandlerPtr  handler)Function type: #xlinkSimpleLinkFunkxlinkSimpleLinkFunk void	
#xlinkSimpleLinkFunkxlinkSimpleLinkFunk 		(void * ctx, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  node, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  href, 					 const libxml-xlink.html#xlinkRolexlinkRole  role, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  title)
Description
Enum xlinkActuate 
Enum xlinkActuate {
    
XLINK_ACTUATE_NONE  = 0
    
XLINK_ACTUATE_AUTO  = 1
    
XLINK_ACTUATE_ONREQUEST  = 2
}
Structure xlinkHandler 
Structure xlinkHandlerstruct _xlinkHandler {
    
libxml-xlink.html#xlinkSimpleLinkFunkxlinkSimpleLinkFunk 	simple
    
libxml-xlink.html#xlinkExtendedLinkFunkxlinkExtendedLinkFunk 	extended
    
libxml-xlink.html#xlinkExtendedLinkSetFunkxlinkExtendedLinkSetFunk 	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#xmlNodePtrxmlNodePtr  node, 					 int nbLocators, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  * hrefs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * roles, 					 int nbArcs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * from, 					 const libxml-xlink.html#xlinkRolexlinkRole  * to, 					 libxml-xlink.html#xlinkShowxlinkShow  * show, 					 libxml-xlink.html#xlinkActuatexlinkActuate  * actuate, 					 int nbTitles, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  * titles, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** 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#xmlNodePtrxmlNodePtr  node, 					 int nbLocators, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  * hrefs, 					 const libxml-xlink.html#xlinkRolexlinkRole  * roles, 					 int nbTitles, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  * titles, 					 const libxml-xmlstring.html#xmlCharxmlChar  ** 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#xlinkNodeDetectFuncxlinkNodeDetectFunc 	xlinkGetDefaultDetect	(void)Get the default xlink detection routine
Returns: the current function or NULL; Function: xlinkGetDefaultHandler
libxml-xlink.html#xlinkHandlerPtrxlinkHandlerPtr 	xlinkGetDefaultHandler	(void)Get the default xlink handler.
Returns: the current libxml-xlink.html#xlinkHandlerPtrxlinkHandlerPtr  value. Function: xlinkIsLink
libxml-xlink.html#xlinkTypexlinkType 	xlinkIsLink		( libxml-tree.html#xmlDocPtrxmlDocPtr  doc, 					 libxml-tree.html#xmlNodePtrxmlNodePtr  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#xlinkTypexlinkType  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#xmlNodePtrxmlNodePtr  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#xlinkNodeDetectFuncxlinkNodeDetectFunc  func)Set the default xlink detection routine
func: pointer to the new detection routine. Function: xlinkSetDefaultHandler
void	xlinkSetDefaultHandler		( libxml-xlink.html#xlinkHandlerPtrxlinkHandlerPtr  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#xmlNodePtrxmlNodePtr  node, 					 const libxml-xlink.html#xlinkHRefxlinkHRef  href, 					 const libxml-xlink.html#xlinkRolexlinkRole  role, 					 const libxml-xlink.html#xlinkTitlexlinkTitle  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.htmlDaniel Veillard 
