AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos XML
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
Ejemplo
// Validation à partir du schéma défini lors de la déclaration
cMonNoeud is xmlNode, description="schemaXSDDuProjet.NoeudRacine"
cMonNoeud..Text = "21"
cMonNoeud..ChildNode = "221"
IF XMLValidNode(cMonNoeud) = False THEN
	Error(ErrorInfo())
ELSE
	Info("Le noeud XML est valide") 
END
Sintaxis
<Result> = XMLValidNode(<XML node>)
<Result>: Boolean
  • True if the validation was successful,
  • False otherwise. If an error occurs, use ErrorInfo for more details on the error.
<XML node>: xmlNode variable
Name of the xmlNode variable corresponding to the node to validate by using the XSD schema. The XSD schema used corresponds to:
  • or the description used when declaring the node (for example: cMonNoeud is an xmlNoeud, description="monXSD.MonNoeud").
  • the description used when declaring the XML document to which the node is associated.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd310xml.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 25/03/2025

Señalar un error o enviar una sugerencia | Ayuda local