With the introduction of wacspop the file format of the XML populate files has changed slightly. This is simply down to the need for the file to identify which schema it relates to and is done in the format of the other WACS XML files. The following attributes need to be added:
Table 24.1. New XML Elements For wacspop
Variable | Value | Comments |
---|---|---|
coreschema | vendor | Schema name |
version | WACS_POPULATE_VERSION_1 or
WACS_POPULATE_VERSION_2 | Will be 2 for Wacs 0.9.x onwards, but the tools all cope with both versions 1 and 2 so use the version number that matches the database schema you're using. |
revisiondata | 09-APR-2011 | Date data last updated |
At the simplest level, to convert an existing XML populate data file
for the vendor database to work with wacspop, you edit the
file to add these three lines just after the <vendors>
line at the top of the file:
<coreschema>vendor</coreschema> <version>WACS_POPULATE_VERSION_1</version> <revisiondate>30-JUL-2011</revsiondate>