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
  • Characteristics of current element
  • XML functions and threads
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
Returns the type of current element (tag or attribute). To select an element, use the functions for XML search and browse (XMLFirst, XMLLast, XMLChild, ...).
Ejemplo
XMLFirst("XMLDoc")
SWITCH XMLElementType("XMLDoc")
	CASE XMLTag: Info(XMLElementName("DocXML") + " is of type XMLBalise")
	CASE XMLAttribute: Info(XMLElementName("DocXML") + " is of type XMLAttribut")
END
Sintaxis
<Result> = XMLElementType(<XML document>)
<Result>: Integer constant
Type of current element.
XMLAttributeThe current element is an attribute.
XMLErrorNo element is currently read. The ErrorOccurred variable is set to True.
XMLTagThe current element is a tag.
<XML document>: Character string
Name of the XML document used. This document contains the XML code to study and it was created by XMLDocument.
Observaciones

Characteristics of current element

  • The value of current element is returned by XMLData.
  • The name of current element is returned by XMLElementName.

XML functions and threads

If your application uses threads, the XML document is shared between all these threads. For more details on threads, see Managing threads.
Componente: wd300xml.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

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