Als Wert, den Sie für eine externe XQuery-Variable eingeben, können Sie entweder einen XPath-Ausdruck ohne Anführungszeichen oder einen Textstring innerhalb von Anführungszeichen eingeben.
Der Datentyp der externen Variable wird in der Variablendeklaration im XQuery-Dokument angegeben.
xquery_variables
manual.altova.comThe value you enter for an external XQuery variable could be an XPath expression without quotes or a text string delimited by quotes.
The datatype of the external variable is specified in the variable declaration in the XQuery document.
xquery_variables
manual.altova.comIm folgenden Beispiel gilt der Strict-Modus nur für den Code in der testFunction.
Der Syntaxfehler wird nicht von der Variablendeklaration außerhalb der Funktion verursacht, sondern von der Deklaration innerhalb der Funktion.
JavaScript
msdn.microsoft.comIn the following example, only the code inside testFunction is in strict mode.
The variable declaration outside the function does not cause a syntax error, but the declaration inside the function does.
JavaScript
msdn.microsoft.comWird die Prozedur / Funktion verlassen, dann wird der Speicher für die Variablen wieder freigegeben, d. h. auf die Werte kann nicht mehr zugegriffen werden.
So könnte eine lokale Variablendeklaration aussehen:
markieren
doc.xforce-online.deIf the programme leaves this procedure / funtiocn, the blocked memory will be cleared, that is, no values can be accessed or stored any more.
Thats how a declaration of a local variable could look like:
markieren
doc.xforce-online.deMöchtest du ein Wort, eine Phrase oder eine Übersetzung hinzufügen?
Sende uns gern einen neuen Eintrag.