mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
i18n(es-ES) node help screens
This commit is contained in:
@@ -15,30 +15,28 @@
|
||||
-->
|
||||
|
||||
<script type="text/html" data-help-name="xml">
|
||||
<p>Converts between an XML string and its JavaScript object representation, in either direction.</p>
|
||||
<h3>Inputs</h3>
|
||||
<p>Convierte entre una cadena XML y su representación de objeto JavaScript, en cualquier dirección.</p>
|
||||
<h3>Entradas</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload<span class="property-type">object | string</span></dt>
|
||||
<dd>A JavaScript object or XML string.</dd>
|
||||
<dt class="optional">options <span class="property-type">object</span></dt>
|
||||
<dd>This optional property can be used to pass in any of the options supported by the underlying
|
||||
library used to convert to and from XML. See <a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank">the xml2js docs</a>
|
||||
for more information.</dd>
|
||||
<dt>payload<span class="property-type">objeto | texto</span></dt>
|
||||
<dd>Un objeto JavaScript o una cadena XML.</dd>
|
||||
<dt class="optional">options <span class="property-type">objeto</span></dt>
|
||||
<dd>Esta propiedad opcional se puede utilizar para pasar cualquiera de las opciones admitidas por la librería subyacente utilizada para convertir hacia y desde XML. Consulta <a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank">los documentos xml2js</a> para obtener más información.</dd>
|
||||
</dl>
|
||||
<h3>Outputs</h3>
|
||||
<h3>Salidas</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload<span class="property-type">object | string</span></dt>
|
||||
<dt>payload<span class="property-type">objeto | texto</span></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li>If the input is a string it tries to parse it as XML and creates a JavaScript object.</li>
|
||||
<li>If the input is a JavaScript object it tries to build an XML string.</li>
|
||||
<li>Si la entrada es una cadena, intenta analizarla como XML y crea un objeto JavaScript.</li>
|
||||
<li>Si la entrada es un objeto JavaScript, intenta construir una cadena XML.</li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>When converting between XML and an object, any XML attributes are added as a property named <code>$</code> by default.
|
||||
Any text content is added as a property named <code>_</code>. These property names can be specified in the node configuration.</p>
|
||||
<p>For example, the following XML will be converted as shown:</p>
|
||||
<h3>Detalles</h3>
|
||||
<p>Al convertir entre XML y un objeto, cualquier atributo XML se agrega como una propiedad denominada <code>$</code> de forma predeterminada.
|
||||
Cualquier contenido de texto se agrega como una propiedad denominada <code>_</code>. Estos nombres de propiedades se pueden especificar en la configuración del nodo.</p>
|
||||
<p>Por ejemplo, el siguiente XML se convertirá como se muestra:</p>
|
||||
<pre><p class="tag">Hello World</p></pre>
|
||||
<pre>{
|
||||
"p": {
|
||||
|
Reference in New Issue
Block a user