|
|
|
|
|
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
cMyNode is xmlNode, description="ProjectXSDSchema.RootNode"
cMyNode..Text = "21"
cMyNode..ChildNode = "221"
IF XMLValidNode(cMyNode) = False THEN
Error(ErrorInfo())
ELSE
Info("The XML node is valid")
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
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|