Blame doc/html/libxml-xlink.html

Packit Service a31ea6
Packit Service a31ea6
Packit Service a31ea6
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
Packit Service a31ea6
TD {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
Packit Service a31ea6
H1 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H2 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H3 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
A:link, A:visited, A:active { text-decoration: underline }
Packit Service a31ea6
</style><style type="text/css">
Packit Service a31ea6
      div.deprecated pre.programlisting {border-style: double;border-color:red}
Packit Service a31ea6
      pre.programlisting {border-style: double;background: #EECFA1}
Packit Service a31ea6
    </style><title>Module xlink from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xlink from libxml2

<center>API Menu</center>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form>
<center>API Indexes</center>
<center>Related links</center>

unfinished XLink detection module

Table of Contents

Enum xlinkActuate
Packit Service a31ea6
Typedef xmlChar * xlinkHRef
Packit Service a31ea6
Structure xlinkHandler
struct _xlinkHandler
Packit Service a31ea6
Typedef xlinkHandler * xlinkHandlerPtr
Packit Service a31ea6
Typedef xmlChar * xlinkRole
Packit Service a31ea6
Enum xlinkShow
Packit Service a31ea6
Typedef xmlChar * xlinkTitle
Packit Service a31ea6
Enum xlinkType
Packit Service a31ea6
Function type: xlinkExtendedLinkFunk
Packit Service a31ea6
void	xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
Packit Service a31ea6
Packit Service a31ea6
Function type: xlinkExtendedLinkSetFunk
Packit Service a31ea6
void	xlinkExtendedLinkSetFunk	(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
Packit Service a31ea6
Packit Service a31ea6
xlinkNodeDetectFunc	xlinkGetDefaultDetect	(void)
Packit Service a31ea6
xlinkHandlerPtr	xlinkGetDefaultHandler	(void)
Packit Service a31ea6
xlinkType	xlinkIsLink		(xmlDocPtr doc, 
xmlNodePtr node)
Packit Service a31ea6
Function type: xlinkNodeDetectFunc
Packit Service a31ea6
void	xlinkNodeDetectFunc		(void * ctx, 
xmlNodePtr node)
Packit Service a31ea6
Packit Service a31ea6
void	xlinkSetDefaultDetect		(xlinkNodeDetectFunc func)
Packit Service a31ea6
void	xlinkSetDefaultHandler		(xlinkHandlerPtr handler)
Packit Service a31ea6
Function type: xlinkSimpleLinkFunk
Packit Service a31ea6
void	xlinkSimpleLinkFunk		(void * ctx, 
xmlNodePtr node,
const xlinkHRef href,
const xlinkRole role,
const xlinkTitle title)
Packit Service a31ea6
Packit Service a31ea6

Description

Packit Service a31ea6

Enum xlinkActuate

Enum xlinkActuate {
Packit Service a31ea6
    XLINK_ACTUATE_NONE = 0
Packit Service a31ea6
    XLINK_ACTUATE_AUTO = 1
Packit Service a31ea6
    XLINK_ACTUATE_ONREQUEST = 2
Packit Service a31ea6
}
Packit Service a31ea6

Structure xlinkHandler

Structure xlinkHandler
struct _xlinkHandler {
Packit Service a31ea6
    xlinkSimpleLinkFunk	simple
Packit Service a31ea6
    xlinkExtendedLinkFunk	extended
Packit Service a31ea6
    xlinkExtendedLinkSetFunk	set
Packit Service a31ea6
}

Enum xlinkShow

Enum xlinkShow {
Packit Service a31ea6
    XLINK_SHOW_NONE = 0
Packit Service a31ea6
    XLINK_SHOW_NEW = 1
Packit Service a31ea6
    XLINK_SHOW_EMBED = 2
Packit Service a31ea6
    XLINK_SHOW_REPLACE = 3
Packit Service a31ea6
}
Packit Service a31ea6

Enum xlinkType

Enum xlinkType {
Packit Service a31ea6
    XLINK_TYPE_NONE = 0
Packit Service a31ea6
    XLINK_TYPE_SIMPLE = 1
Packit Service a31ea6
    XLINK_TYPE_EXTENDED = 2
Packit Service a31ea6
    XLINK_TYPE_EXTENDED_SET = 3
Packit Service a31ea6
}
Packit Service a31ea6

Function type: xlinkExtendedLinkFunk

Function type: xlinkExtendedLinkFunk
Packit Service a31ea6
void	xlinkExtendedLinkFunk		(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbArcs,
const xlinkRole * from,
const xlinkRole * to,
xlinkShow * show,
xlinkActuate * actuate,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
Packit Service a31ea6

This is the prototype for a extended link detection callback.

<tt>ctx</tt>:user data pointer
<tt>node</tt>:the node carrying the link
<tt>nbLocators</tt>:the number of locators detected on the link
<tt>hrefs</tt>:pointer to the array of locator hrefs
<tt>roles</tt>:pointer to the array of locator roles
<tt>nbArcs</tt>:the number of arcs detected on the link
<tt>from</tt>:pointer to the array of source roles found on the arcs
<tt>to</tt>:pointer to the array of target roles found on the arcs
<tt>show</tt>:array of values for the show attributes found on the arcs
<tt>actuate</tt>:array of values for the actuate attributes found on the arcs
<tt>nbTitles</tt>:the number of titles detected on the link
<tt>titles</tt>:
<tt>langs</tt>:array of xml:lang values for the titles

Packit Service a31ea6

Function type: xlinkExtendedLinkSetFunk

Function type: xlinkExtendedLinkSetFunk
Packit Service a31ea6
void	xlinkExtendedLinkSetFunk	(void * ctx, 
xmlNodePtr node,
int nbLocators,
const xlinkHRef * hrefs,
const xlinkRole * roles,
int nbTitles,
const xlinkTitle * titles,
const xmlChar ** langs)
Packit Service a31ea6

This is the prototype for a extended link set detection callback.

<tt>ctx</tt>:user data pointer
<tt>node</tt>:the node carrying the link
<tt>nbLocators</tt>:the number of locators detected on the link
<tt>hrefs</tt>:pointer to the array of locator hrefs
<tt>roles</tt>:pointer to the array of locator roles
<tt>nbTitles</tt>:the number of titles detected on the link
<tt>titles</tt>:
<tt>langs</tt>:array of xml:lang values for the titles

Packit Service a31ea6

Function: xlinkGetDefaultDetect

xlinkNodeDetectFunc	xlinkGetDefaultDetect	(void)
Packit Service a31ea6

Get the default xlink detection routine

Packit Service a31ea6
<tt>Returns</tt>:the current function or NULL;

Function: xlinkGetDefaultHandler

xlinkHandlerPtr	xlinkGetDefaultHandler	(void)
Packit Service a31ea6

Get the default xlink handler.

Packit Service a31ea6
<tt>Returns</tt>:the current xlinkHandlerPtr value.

Function: xlinkIsLink

xlinkType	xlinkIsLink		(xmlDocPtr doc, 
xmlNodePtr node)
Packit Service a31ea6

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.

Packit Service a31ea6
<tt>doc</tt>:the document containing the node
<tt>node</tt>:the node pointer itself
<tt>Returns</tt>:the xlinkType of the node (XLINK_TYPE_NONE if there is no link detected.

Function type: xlinkNodeDetectFunc

Function type: xlinkNodeDetectFunc
Packit Service a31ea6
void	xlinkNodeDetectFunc		(void * ctx, 
xmlNodePtr node)
Packit Service a31ea6

This is the prototype for the link detection routine. It calls the default link detection callbacks upon link detection.

<tt>ctx</tt>:user data pointer
<tt>node</tt>:the node to check

Packit Service a31ea6

Function: xlinkSetDefaultDetect

void	xlinkSetDefaultDetect		(xlinkNodeDetectFunc func)
Packit Service a31ea6

Set the default xlink detection routine

Packit Service a31ea6
<tt>func</tt>:pointer to the new detection routine.

Function: xlinkSetDefaultHandler

void	xlinkSetDefaultHandler		(xlinkHandlerPtr handler)
Packit Service a31ea6

Set the default xlink handlers

Packit Service a31ea6
<tt>handler</tt>:the new value for the xlink handler block

Function type: xlinkSimpleLinkFunk

Function type: xlinkSimpleLinkFunk
Packit Service a31ea6
void	xlinkSimpleLinkFunk		(void * ctx, 
xmlNodePtr node,
const xlinkHRef href,
const xlinkRole role,
const xlinkTitle title)
Packit Service a31ea6

This is the prototype for a simple link detection callback.

<tt>ctx</tt>:user data pointer
<tt>node</tt>:the node carrying the link
<tt>href</tt>:the target of the link
<tt>role</tt>:the role string
<tt>title</tt>:the link title

Packit Service a31ea6

Daniel Veillard

</body></html>