ajint ajDomNodeListGetLen (
const AjPDomNodeList list
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNodeList | list | Input | node list |
| ajint | RETURN | Length (-1 if error) |
From EMBOSS 6.3.0
AjPDomNodeEntry ajDomNodeListAppend (
AjPDomNodeList list,
AjPDomNode child
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeList | list | Output | node list |
| AjPDomNode | child | Modify | child |
| AjPDomNodeEntry | RETURN | Node list child entry created |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeAppendChild (
AjPDomNode node,
AjPDomNode extrachild
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNode | node | Output | node |
| AjPDomNode | extrachild | Modify | extra child |
| AjPDomNode | RETURN | Pointer to extrachild or NULL if error |
From EMBOSS 4.0.0
AjPDomNode ajDomRemoveChild (
AjPDomNode node,
AjPDomNode child
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNode | node | Output | node |
| AjPDomNode | child | Modify | child to remove |
| AjPDomNode | RETURN | child removed |
From EMBOSS 4.0.0
AjBool ajDomNodeListExists (
AjPDomNodeList list,
const AjPDomNode child
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeList | list | Modify | list |
| const AjPDomNode | child | Input | child |
| AjBool | RETURN | true if child is in the list |
From EMBOSS 4.0.0
AjPDomNodeEntry ajDomNodeListRemove (
AjPDomNodeList list,
AjPDomNode child
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeList | list | Output | list |
| AjPDomNode | child | Modify | child |
| AjPDomNodeEntry | RETURN | child removed or NULL if not found |
From EMBOSS 4.0.0
void ajDomDocumentDestroyNode (
AjPDomDocument doc,
AjPDomNode* Pnode
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| AjPDomNode* | Pnode | Delete | node |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomDocumentDestroyNodeList (
AjPDomDocument doc,
AjPDomNodeList* Plist,
AjBool donodes
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| AjPDomNodeList* | Plist | Delete | list |
| AjBool | donodes | Input | free nodes as well if true |
| void | RETURN |
From EMBOSS 4.0.0
AjPDomNodeList ajDomCreateNodeList (
AjPDomDocument doc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | document |
| AjPDomNodeList | RETURN | new list |
From EMBOSS 4.0.0
AjPDomNode ajDomDocumentCreateNode (
AjPDomDocument doc,
AjEDomNodeType nodetype
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | document |
| AjEDomNodeType | nodetype | Modify | AJAX DOM Node Type enumeration |
| AjPDomNode | RETURN | new node |
From EMBOSS 4.0.0
AjPDomDocumentType ajDomImplementationCreateDocumentType (
const AjPStr qualname,
const AjPStr publicid,
const AjPStr systemid
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | qualname | Input | qualified name |
| const AjPStr | publicid | Input | public id |
| const AjPStr | systemid | Input | systemid |
| AjPDomDocumentType | RETURN | new DocumentType node |
From EMBOSS 4.0.0
AjPDomDocumentType ajDomImplementationCreateDocumentTypeC (
const char* qualname,
const char* publicid,
const char* systemid
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const char* | qualname | Input | qualified name |
| const char* | publicid | Input | public id |
| const char* | systemid | Input | systemid |
| AjPDomDocumentType | RETURN | new DocumentType node |
From EMBOSS 4.0.0
AjPDomDocument ajDomImplementationCreateDocument (
const AjPStr uri,
const AjPStr qualname,
AjPDomDocumentType doctype
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | uri | Input | uri (not implemented. Pass NULL) |
| const AjPStr | qualname | Input | qualified name |
| AjPDomDocumentType | doctype | Modify | doctype |
| AjPDomDocument | RETURN | new document |
From EMBOSS 4.0.0
AjPDomDocument ajDomImplementationCreateDocumentC (
const char* uri,
const char* qualname,
AjPDomDocumentType doctype
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const char* | uri | Input | uri (not implemented. Pass NULL) |
| const char* | qualname | Input | qualified name |
| AjPDomDocumentType | doctype | Modify | doctype |
| AjPDomDocument | RETURN | new document |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapGetItem (
const AjPDomNodeMap map,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNodeMap | map | Input | map |
| const AjPStr | name | Input | name |
| AjPDomNode | RETURN | node |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapGetItemC (
const AjPDomNodeMap map,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNodeMap | map | Input | map |
| const char* | name | Input | name |
| AjPDomNode | RETURN | node |
From EMBOSS 4.0.0
AjPStr ajDomElementGetAttribute (
const AjPDomElement element,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const AjPStr | name | Input | name |
| AjPStr | RETURN | value or empty string |
From EMBOSS 4.0.0
AjPStr ajDomElementGetAttributeC (
const AjPDomElement element,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const char* | name | Input | name |
| AjPStr | RETURN | value or empty string |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapSetItem (
AjPDomNodeMap map,
AjPDomNode arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeMap | map | Modify | map |
| AjPDomNode | arg | Modify | arg |
| AjPDomNode | RETURN | replaced node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapRemoveItem (
AjPDomNodeMap map,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeMap | map | Modify | map |
| const AjPStr | name | Input | name |
| AjPDomNode | RETURN | removed node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapRemoveItemC (
AjPDomNodeMap map,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeMap | map | Output | map |
| const char* | name | Input | name |
| AjPDomNode | RETURN | removed node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeMapItem (
const AjPDomNodeMap map,
ajint indexnum
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNodeMap | map | Input | map |
| ajint | indexnum | Input | index |
| AjPDomNode | RETURN | node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeListItem (
const AjPDomNodeList list,
ajint indexnum
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNodeList | list | Input | list |
| ajint | indexnum | Input | index |
| AjPDomNode | RETURN | node or NULL |
From EMBOSS 4.0.0
void ajDomElementSetAttribute (
const AjPDomElement element,
const AjPStr name,
const AjPStr value
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const AjPStr | name | Input | name |
| const AjPStr | value | Input | value |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomElementSetAttributeC (
const AjPDomElement element,
const char* name,
const char* value
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const char* | name | Input | name |
| const char* | value | Input | value |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomElementRemoveAttribute (
AjPDomElement element,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Modify | element |
| const AjPStr | name | Input | name |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomElementRemoveAttributeC (
AjPDomElement element,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Modify | element |
| const char* | name | Input | name |
| void | RETURN |
From EMBOSS 4.0.0
AjPDomNode ajDomElementGetAttributeNode (
const AjPDomElement element,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const AjPStr | name | Input | name |
| AjPDomNode | RETURN | node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomElementGetAttributeNodeC (
const AjPDomElement element,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomElement | element | Input | element |
| const char* | name | Input | name |
| AjPDomNode | RETURN | node or NULL |
From EMBOSS 4.0.0
AjPDomNode ajDomElementSetAttributeNode (
AjPDomElement element,
AjPDomNode newattr
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Modify | element |
| AjPDomNode | newattr | Modify | name |
| AjPDomNode | RETURN | new or replaced attribute |
From EMBOSS 4.0.0
AjPDomNode ajDomElementRemoveAttributeNode (
AjPDomElement element,
AjPDomNode oldattr
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Output | element |
| AjPDomNode | oldattr | Modify | attribute |
| AjPDomNode | RETURN | removed attribute or NULL |
From EMBOSS 4.0.0
AjPDomNodeList ajDomElementGetElementsByTagName (
AjPDomElement element,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Modify | element |
| const AjPStr | name | Input | name |
| AjPDomNodeList | RETURN | node list |
From EMBOSS 4.0.0
AjPDomNodeList ajDomElementGetElementsByTagNameC (
AjPDomElement element,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Modify | element |
| const char* | name | Input | name |
| AjPDomNodeList | RETURN | node list |
From EMBOSS 4.0.0
void ajDomElementNormalise (
AjPDomElement element
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Output | element |
| void | RETURN |
From EMBOSS 4.0.0
AjPStr ajDomCharacterDataSubstringData (
const AjPDomCharacterData data,
ajint offset,
ajint count
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomCharacterData | data | Input | character data |
| ajint | offset | Input | offset |
| ajint | count | Input | count |
| AjPStr | RETURN | substring |
From EMBOSS 4.0.0
void ajDomCharacterDataAppendData (
AjPDomCharacterData data,
const AjPStr arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| const AjPStr | arg | Input | string |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataAppendDataC (
AjPDomCharacterData data,
const char* arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| const char* | arg | Input | string |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataInsertData (
AjPDomCharacterData data,
ajint offset,
const AjPStr arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| ajint | offset | Input | offset |
| const AjPStr | arg | Input | string |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataInsertDataC (
AjPDomCharacterData data,
ajint offset,
const char* arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| ajint | offset | Input | offset |
| const char* | arg | Input | string |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataDeleteData (
AjPDomCharacterData data,
ajint offset,
ajint count
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| ajint | offset | Input | offset |
| ajint | count | Input | count |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataReplaceData (
AjPDomCharacterData data,
ajint offset,
ajint count,
const AjPStr arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| ajint | offset | Input | offset |
| ajint | count | Input | count |
| const AjPStr | arg | Input | replacement string |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomCharacterDataReplaceDataC (
AjPDomCharacterData data,
ajint offset,
ajint count,
const char* arg
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomCharacterData | data | Output | character data |
| ajint | offset | Input | offset |
| ajint | count | Input | count |
| const char* | arg | Input | replacement string |
| void | RETURN |
From EMBOSS 4.0.0
ajint ajDomCharacterDataGetLength (
const AjPDomCharacterData data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomCharacterData | data | Input | character data |
| ajint | RETURN | length |
From EMBOSS 4.0.0
AjPDomText ajDomTextSplitText (
AjPDomText text,
ajint offset
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomText | text | Output | text |
| ajint | offset | Input | offset |
| AjPDomText | RETURN | remainder node or NULL |
From EMBOSS 4.0.0
AjPDomElement ajDomDocumentCreateElement (
AjPDomDocument doc,
const AjPStr tagname
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | tagname | Input | tagname |
| AjPDomElement | RETURN | element |
From EMBOSS 4.0.0
AjPDomElement ajDomDocumentCreateElementC (
AjPDomDocument doc,
const char* tagname
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | tagname | Input | tagname |
| AjPDomElement | RETURN | element |
From EMBOSS 4.0.0
AjPDomDocumentFragment ajDomDocumentCreateDocumentFragment (
AjPDomDocument doc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| AjPDomDocumentFragment | RETURN | fragment |
From EMBOSS 4.0.0
AjPDomText ajDomDocumentCreateTextNode (
AjPDomDocument doc,
const AjPStr data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | data | Input | text |
| AjPDomText | RETURN | text node |
From EMBOSS 4.0.0
AjPDomText ajDomDocumentCreateTextNodeC (
AjPDomDocument doc,
const char* data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | data | Input | text |
| AjPDomText | RETURN | text node |
From EMBOSS 4.0.0
AjPDomComment ajDomDocumentCreateComment (
AjPDomDocument doc,
const AjPStr data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | data | Input | text |
| AjPDomComment | RETURN | comment node |
From EMBOSS 4.0.0
AjPDomComment ajDomDocumentCreateCommentC (
AjPDomDocument doc,
const char* data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | data | Input | text |
| AjPDomComment | RETURN | comment node |
From EMBOSS 4.0.0
AjPDomCDATASection ajDomDocumentCreateCDATASection (
AjPDomDocument doc,
const AjPStr data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | data | Input | text |
| AjPDomCDATASection | RETURN | comment node |
From EMBOSS 4.0.0
AjPDomCDATASection ajDomDocumentCreateCDATASectionC (
AjPDomDocument doc,
const char* data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | data | Input | text |
| AjPDomCDATASection | RETURN | comment node |
From EMBOSS 4.0.0
AjPDomAttr ajDomDocumentCreateAttribute (
AjPDomDocument doc,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | name | Input | text |
| AjPDomAttr | RETURN | attribute node |
From EMBOSS 4.0.0
AjPDomAttr ajDomDocumentCreateAttributeC (
AjPDomDocument doc,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | name | Input | text |
| AjPDomAttr | RETURN | attribute node |
From EMBOSS 4.0.0
AjPDomEntityReference ajDomDocumentCreateEntityReference (
AjPDomDocument doc,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | name | Input | text |
| AjPDomEntityReference | RETURN | entity reference node |
From EMBOSS 4.0.0
AjPDomEntityReference ajDomDocumentCreateEntityReferenceC (
AjPDomDocument doc,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | name | Input | text |
| AjPDomEntityReference | RETURN | entity reference node |
From EMBOSS 4.0.0
AjPDomPi ajDomDocumentCreateProcessingInstruction (
AjPDomDocument doc,
const AjPStr target,
const AjPStr data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const AjPStr | target | Input | target |
| const AjPStr | data | Input | data |
| AjPDomPi | RETURN | entity reference node |
From EMBOSS 4.0.0
AjPDomPi ajDomDocumentCreateProcessingInstructionC (
AjPDomDocument doc,
const char* target,
const char* data
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Output | document |
| const char* | target | Input | target |
| const char* | data | Input | data |
| AjPDomPi | RETURN | entity reference node |
From EMBOSS 4.0.0
AjPDomNodeList ajDomDocumentGetElementsByTagName (
AjPDomDocument doc,
const AjPStr name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | document |
| const AjPStr | name | Input | name |
| AjPDomNodeList | RETURN | node list |
From EMBOSS 4.0.0
AjPDomNodeList ajDomDocumentGetElementsByTagNameC (
AjPDomDocument doc,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | document |
| const char* | name | Input | name |
| AjPDomNodeList | RETURN | node list |
From EMBOSS 4.0.0
AjPDomDocumentType ajDomDocumentGetDoctype (
const AjPDomDocument doc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomDocument | doc | Input | document |
| AjPDomDocumentType | RETURN | doctype |
From EMBOSS 4.0.0
AjPDomElement ajDomDocumentGetDocumentElement (
const AjPDomDocument doc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomDocument | doc | Input | document |
| AjPDomElement | RETURN | root element |
From EMBOSS 4.0.0
void ajDomPrintNode (
const AjPDomNode node,
ajint indent
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNode | node | Input | node |
| ajint | indent | Input | indentation |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomPrintNode2 (
const AjPDomNode node
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNode | node | Input | node |
| void | RETURN |
From EMBOSS 4.0.0
void ajDomNodePrintNode (
const AjPDomNode node
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNode | node | Input | node |
| void | RETURN |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeInsertBefore (
AjPDomNode node,
AjPDomNode newchild,
AjPDomNode refchild
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNode | node | Output | node |
| AjPDomNode | newchild | Modify | node to insert |
| AjPDomNode | refchild | Modify | node to insert before |
| AjPDomNode | RETURN | inserted node |
From EMBOSS 4.0.0
AjPDomNodeEntry ajDomNodeListInsert (
AjPDomNodeList list,
AjPDomNode newchild,
AjPDomNode refchild
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeList | list | Modify | list |
| AjPDomNode | newchild | Modify | node to insert |
| AjPDomNode | refchild | Modify | node to insert before |
| AjPDomNodeEntry | RETURN | inserted node |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeReplaceChild (
AjPDomNode node,
AjPDomNode newchild,
AjPDomNode oldchild
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNode | node | Modify | node |
| AjPDomNode | newchild | Modify | node to insert |
| AjPDomNode | oldchild | Modify | node to replace |
| AjPDomNode | RETURN | oldchild node |
From EMBOSS 4.0.0
AjPDomNodeEntry ajDomNodeListReplace (
AjPDomNodeList list,
AjPDomNode newchild,
AjPDomNode oldchild
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNodeList | list | Modify | list |
| AjPDomNode | newchild | Modify | node to insert |
| AjPDomNode | oldchild | Modify | node to replace |
| AjPDomNodeEntry | RETURN | inserted node |
From EMBOSS 4.0.0
AjPDomNode ajDomNodeCloneNode (
AjPDomNode node,
AjBool deep
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomNode | node | Modify | node to clone |
| AjBool | deep | Input | do a deep clone |
| AjPDomNode | RETURN | clone |
From EMBOSS 4.0.0
AjBool ajDomNodeHasChildNodes (
const AjPDomNode node
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomNode | node | Input | node to clone |
| AjBool | RETURN | true if children |
From EMBOSS 4.0.0
ajint ajDomWrite (
const AjPDomDocument node,
AjPFile outf
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomDocument | node | Input | document to write |
| AjPFile | outf | Modify | output file |
| ajint | RETURN | zero OK, negative if error |
From EMBOSS 4.0.0
ajint ajDomWriteIndent (
const AjPDomDocument node,
AjPFile outf,
ajint indent
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPDomDocument | node | Input | document to write |
| AjPFile | outf | Modify | output file |
| ajint | indent | Input | indent level |
| ajint | RETURN | Positive OK, zero OK but no additional output, negative if error |
From EMBOSS 4.1.0
ajint ajDomReadFp (
AjPDomDocument node,
FILE* stream
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | node | Modify | document to write |
| FILE* | stream | Modify | stream |
| ajint | RETURN | zero OK, negative if error |
From EMBOSS 6.3.0
ajint ajDomReadFilebuff (
AjPDomDocument node,
AjPFilebuff buff
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | node | Modify | document to write |
| AjPFilebuff | buff | Modify | File buffer |
| ajint | RETURN | zero OK, negative if error |
From EMBOSS 6.3.0
ajint ajDomReadFilebuffText (
AjPDomDocument node,
AjPFilebuff buff,
AjBool dotext,
AjPStr* Pstr
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | node | Modify | document to write |
| AjPFilebuff | buff | Modify | File buffer |
| AjBool | dotext | Input | If true, save input text to string |
| AjPStr* | Pstr | Modify | Text save buffer |
| ajint | RETURN | zero OK, negative if error |
From EMBOSS 6.6.0
ajint ajDomReadString (
AjPDomDocument node,
AjPStr str
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | node | Modify | document to write |
| AjPStr | str | Modify | XML string |
| ajint | RETURN | zero OK, negative if error |
From EMBOSS 6.3.0
AjPStr ajDomTextGetText (
AjPDomText text
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomText | text | Output | text |
| AjPStr | RETURN | text or NULL |
From EMBOSS 6.4.0
AjPStr ajDomElementGetText (
AjPDomElement element
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomElement | element | Output | element |
| AjPStr | RETURN | text or NULL |
From EMBOSS 6.4.0
AjPDomElement ajDomElementGetNthChildByTagNameC (
AjPDomDocument doc,
AjPDomElement element,
const char* name,
ajint n
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | doc |
| AjPDomElement | element | Modify | element |
| const char* | name | Input | element name |
| ajint | n | Input | number of child to get |
| AjPDomElement | RETURN | child or NULL |
From EMBOSS 6.4.0
AjPDomElement ajDomElementGetFirstChildByTagNameC (
AjPDomDocument doc,
AjPDomElement element,
const char* name
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| AjPDomDocument | doc | Modify | doc |
| AjPDomElement | element | Modify | element |
| const char* | name | Input | element name |
| AjPDomElement | RETURN | child or NULL |
From EMBOSS 6.4.0