

|
xmltree
Synopsis
#define xmlSecNodeGetName (node)
const xmlChar* xmlSecGetNodeNsHref (const xmlNodePtr cur);
int xmlSecCheckNodeName (const xmlNodePtr cur,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecGetNextElementNode (xmlNodePtr cur);
xmlNodePtr xmlSecFindChild (const xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecFindParent (const xmlNodePtr cur,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecFindNode (const xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecAddChild (xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecAddNextSibling (xmlNodePtr node,
const xmlChar *name,
const xmlChar *ns);
xmlNodePtr xmlSecAddPrevSibling (xmlNodePtr node,
const xmlChar *name,
const xmlChar *ns);
int xmlSecReplaceNode (xmlNodePtr node,
xmlNodePtr newNode);
int xmlSecReplaceContent (xmlNodePtr node,
xmlNodePtr newNode);
int xmlSecReplaceNodeBuffer (xmlNodePtr node,
unsigned char *buffer,
size_t size);
void xmlSecAddIDs (xmlDocPtr doc,
xmlNodePtr cur,
const xmlChar **ids);
#define xmlSecIsHex (c)
#define xmlSecGetHex (c) |
Details
xmlSecNodeGetName()
#define xmlSecNodeGetName(node) |
Macro. Returns node's name.
xmlSecGetNodeNsHref ()
const xmlChar* xmlSecGetNodeNsHref (const xmlNodePtr cur); |
xmlSecCheckNodeName ()
int xmlSecCheckNodeName (const xmlNodePtr cur,
const xmlChar *name,
const xmlChar *ns); |
Checks that the node has a given name and a given namespace href.
xmlSecGetNextElementNode ()
xmlNodePtr xmlSecGetNextElementNode (xmlNodePtr cur); |
Seraches for the next element node.
xmlSecFindChild ()
xmlNodePtr xmlSecFindChild (const xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns); |
Searches a direct child of the parent node having given name and
namespace href.
xmlSecFindParent ()
xmlNodePtr xmlSecFindParent (const xmlNodePtr cur,
const xmlChar *name,
const xmlChar *ns); |
Searches the ancestors axis of the cur node for a node having given name
and namespace href.
xmlSecFindNode ()
xmlNodePtr xmlSecFindNode (const xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns); |
Searches all children of the parent node having given name and
namespace href.
xmlSecAddChild ()
xmlNodePtr xmlSecAddChild (xmlNodePtr parent,
const xmlChar *name,
const xmlChar *ns); |
Adds a child to the node parent with given name and namespace ns.
xmlSecAddNextSibling ()
xmlNodePtr xmlSecAddNextSibling (xmlNodePtr node,
const xmlChar *name,
const xmlChar *ns); |
Adds next sibling to the node node with given name and namespace ns.
xmlSecAddPrevSibling ()
xmlNodePtr xmlSecAddPrevSibling (xmlNodePtr node,
const xmlChar *name,
const xmlChar *ns); |
Adds prev sibling to the node node with given name and namespace ns.
xmlSecReplaceNode ()
int xmlSecReplaceNode (xmlNodePtr node,
xmlNodePtr newNode); |
Swaps the node and newNode in the XML tree.
xmlSecReplaceContent ()
int xmlSecReplaceContent (xmlNodePtr node,
xmlNodePtr newNode); |
Swaps the content of node and newNode.
xmlSecReplaceNodeBuffer ()
int xmlSecReplaceNodeBuffer (xmlNodePtr node,
unsigned char *buffer,
size_t size); |
Swaps the node and the parsed XML data from the buffer in the XML tree.
xmlSecAddIDs ()
void xmlSecAddIDs (xmlDocPtr doc,
xmlNodePtr cur,
const xmlChar **ids); |
Walks thru all children of the cur node and adds all attributes
from the ids list to the doc document IDs attributes hash.
xmlSecIsHex()
Macro. Returns 1 if c is a hex digit or 0 other wise.
xmlSecGetHex()
Macro. Returns the hex value of the c.
|
Aleksey Sanin
|
|