|
|
|
|
|
<htmlNode variable>.InsertFirstChild (Función) Añade un hijo al principio de los hijos del nodo actual en un documento HTML. hDoc is htmlDocument = "
<html>
<head/>
<body>
<h2><span>
<p>Texte</p>
</span></h2><h3></h3>
</body>
</html>
"
hNoeud is htmlNode
hNoeudInsertion is htmlNode
hNoeudRecherche is array of htmlNode <- hDoc.ChercheElémentParBalise("h3")
hNoeud <- hNoeudRecherche[1]
hNoeudInsertion..TagName = "div"
hNoeud.InsèrePremierFils(hNoeudInsertion)
hNoeudInsertion..TagName = "span"
hNoeud.InsèreDernierFils(hNoeudInsertion)
Trace(hDoc)
Sintaxis
<Source node>.InsertFirstChild(<Node to insert>)
<Source node>: variable htmlNode Nombre de la variable htmlNode que corresponde al nodo de referencia Insert. <Node to insert>: variable htmlNode Nombre de la variable htmlNode que corresponde al hijo que se va a insertar como primer hijo de la variable <Source node>. Clasificación Lógica de negocio / UI: Lógica de negocio Componente: wd300html.dll
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|