<!ELEMENT import-items (add-item)*>

Parent: <gsa-template>, <transaction>

The <import-items> tag is a procedural tag that can be used to add items to a repository in a more complex way than is possible with <add-item> tags in a <transaction> tag.

As child elements of <import-items>, <add-item> tags are processed differently than as children of a <transaction> tag in that they can have forward references. When the template is parsed, the parser makes three passes through the <add-item> tags in an <import-items> tag. On the first pass, the items are created. On the second pass, it sets required properties and properties that do not reference other items, then calls add-item. On the final pass, it sets any remaining properties and calls update-item if necessary.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices