ELEMENT:  <package>

The <package> tag allows more than one job to be defined within one .wsf file. The use of the <package> tag is optional if the .wsf file has only one job. Each .wsf file contains at most one <package> tag.

Syntax: <package> . . . </package>

The following sample code illustrates the use of this tag.

<?XML version="1.0" ?>
<!-- Filename: demo.wsf-->
<package>
  <job id="JobOne">
    <script language="VBScript">
      WScript.Echo "This is job one."
    </script>
  </job>
  <job id="JobTwo">
    <script language="VBScript">
      WScript.Echo "This is job two."
    </script>
  </job>
  <job id="JobThree">
    <script language="VBScript">
      WScript.Echo "This is job three."
    </script>
  </job>
</package>

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information