|
|
|
|
|
<htmlNode variable>.RemoveChild (Function) In french: <Variable htmlNoeud>.SupprimeFils Removes a given node in the current node of an HTML document. hDoc is htmlDocument = " <html> <head/> <body> <h1/> <h2> <span> <p>Text</p> </span> </h2> </body> </html> "  hNode is htmlNode hSearchNode is array of htmlNode  hSearchNode <- hDoc.FindElementByTag("body") hNode <- hSearchNode[1] hSearchNode <- hNode.FindElementByTag("h1") hChildNode is htmlNode <- hSearchNode[1] hNode.RemoveChild(hChildNode) // body: <h2><span><p>Text</p></span></h2>
Syntax
<Source node>.RemoveChild(<Child to remove>)
<Source node>: htmlNode variable Name of the htmlNode variable that corresponds to the reference node for removing the child. <Child to remove>: htmlNode variable Name of the htmlNode variable that corresponds to the child node to be removed Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|