PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Removes a given node in the current node of an HTML document.
Example
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 <- HTMLFindElementByTag(hDoc, "body")
hNode <- hSearchNode[1]
hSearchNode <- HTMLFindElementByTag(hNode, "h1")
hChildNode is htmlNode <- hSearchNode[1]
HTMLRemoveChild(hNode, hChildNode)
// body: <h2><span><p>Text</p></span></h2>
Syntax
HTMLRemoveChild(<Source node> , <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
Component: wd280html.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment