A continuación enumeramos los pasos generales del proceso de depuración de expresiones XPath/XQuery
The broad steps for debugging an XPath/XQuery expression are as follows
Escriba la expresión XPath/XQuery en el panel de expresiones.
Enter the XPath/XQuery expression in the expression pane.
El diseño vertical (imagen siguiente) es el más práctico cuando la expresión XPath/XQuery (situada en el panel izquierdo) abarca varias líneas.
The vertical layout (screenshot below) is useful when the XPath/XQuery expression (in the left-hand pane) spans multiple lines.
En XPath/XQuery la cadena se puede modificar para ajustarse a la representación léxica del tipo necesario y convertirse después en dicho tipo (usando la expresión cast as, por ejemplo).
In XPath/XQuery, the string can be modified to fit the lexical representation of the required type and then converted to the required type (for example, by using the cast as expression).
Están disponibles en contextos XPath/XQuery.
They are available in XPath/XQuery contexts.
Cuando un método Java devuelve un valor y el tipo de datos del valor es un tipo de cadena, numérico o booleano, entonces se convierte en el tipo de datos XPath/XQuery correspondiente.
When a Java method returns a value, the datatype of the value is a string, numeric or boolean type, then it is converted to the corresponding XPath/XQuery type.
La ventana XPath/XQuery ofrece hasta nueve pestañas diferentes para que pueda trabajar con nueve expresiones distintas a la vez.
The XPath/XQuery Window has nine tabs, enabling you to work with nine different expressions at a time.
En expresiones XPath/XQuery, use características que sean válidas para consultar documentos JSON, como el operador lookup y las funciones array.
In XPath/XQuery expressions, use features that are valid for querying JSON documents, such as the lookup operator and array functions.
Puede crear sus funciones XPath/XQuery personalizadas para sus proyectos individuales, los cuales podrá usar posteriormente en todas las expresiones XPath del proyecto.
You can create your own custom-made XPath/XQuery functions for individual projects, which you can then use in all XPath expressions in the project.
Puede utilizar todas las funciones de extensión de Altova en sus expresiones XPath/XQuery.
Altova extension functions can be used in XPath/XQuery expressions.
Por cada función se indica en qué versión de XPath/XQuery y XSLT se puede usar (ver símbolos más abajo).
The XPath/XQuery and XSLT versions in which a function can be used are indicated in the description of the function (see symbols below).
Por suerte, las funciones añadidas a XPath/XQuery 3.1 permiten transformar datos JSON y realizar consultas en asignaciones, matrices y objetos JSON de forma estandarizada usando estos lenguajes ya conocidos.
Luckily, functionality added to XPath/XQuery 3.1 provides a means for targeting JSON maps, arrays, and objects, offering a standardized way to query and transform JSON data using these familiar languages.
Editor XPath/XQuery con novedades para ahorrarle tiempo al generar expresiones.
XPath/XQuery Editor with time-saving features for building expressions
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple