ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HTML file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes the specified node in an HTML document without deleting its children, which take its place.
Example
hDoc is htmlDocument = "
<html>
	<head/>
	<body>
		<h1></h1><div id="div">
			<p>Texte</p>
			<p>Texte2</p>
		</div><h3></h3>
	</body>
</html>
"
hNoeud is htmlNode <- hDoc.ChercheElémentParID("div") 
hNoeudInsertion is htmlNode

hNoeudInsertion..TagName = "h2"
hNoeud.Encadre(hNoeudInsertion)
// body: <h1/><h2><div id="div"><p>Texte1</p><p>Texte2</p></div></h2><h3/>
Trace(hDoc)
hNoeudInsertion..TagName = "span"
hNoeud.EncadreTousLesFils(hNoeudInsertion)
// body: <h1/><h2><div id="div"><span><p>Texte1</p><p>Texte2</p></span></div></h2><h3/>
Trace(hDoc)
hNoeud.DésencadreTousLesFils()
// body: <h1/><h2><span><p>Texte1</p><p>Texte2</p></span></h2><h3/>Trace(hDoc)
Syntax
<Node>.UnwrapAllChildren()
<Node>: htmlNode variable
Name of the htmlNode variable that corresponds to the node to be removed.
Business / UI classification: Business Logic
Component: wd300html.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help