|
|
|
|
Elimina un nodo dado en el nodo actual de un 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>
Sintaxis
<Source node>.RemoveChild(<Child to remove>)
<Source node>: htmlNode Variable Nombre de la variable htmlNode que corresponde al nodo reference para eliminar el hijo. <Child to remove>: htmlNode Variable Nombre de la htmlNode Variable que corresponde al nodo hijo a eliminar Clasificación Lógica de negocio / UI: Lógica de negocio Componente: wd290html.dll
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|