The JScript code listing below illustrates how to open two documents from the XMLSpy Examples folder and set one of them as the active document.
Im unten aufgelisteten JScript-Code wird gezeigt, wie man Dokumente öffnet, ein Dokument zum aktiven Dokument macht, durch die offenen Dokumente iteriert und Dokumente schließt.
The following code listing shows how this is done using JScript.
The sample XML code listing below contains a list of products.
Der unten gezeigte XML-Beispielcode enthält eine Liste von Produkten.
The code listing below shows how a UI-Update event handler can be created.
Im unten gezeigten Code sehen Sie wie ActiveX Controls erstellt werden.
The code listing below shows how to open a document.
Im nachstehenden Code wird gezeigt, wie man die Applikation startet und beendet.
The code listing below iterates through open documents and validates each of them.
Im unten stehenden Code wird durch offene Dokumente iteriert, wobei jedes davon validiert wird.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.