CentraSite Documentation : CentraSite User’s Guide : Using the Asset Catalog : Editing an Asset in the Catalog : Attaching a Schema File to an XML Schema Asset : General
General
Each XML Schema asset normally has an attached schema file. If you use the schema importer to create the asset, the schema file is attached automatically. If you create the asset by hand, using the Add Asset button on the Browse page, you can attach a schema file to the asset by using the Attach button in the Details profile of the asset.
When you attach a schema file, the following situations are possible:
*The XML Schema asset has no schema already attached
In this case, the schema will just be attached to the asset. The asset name will be changed to the schema's file name. The schema can only be attached if no schema with the same name and namespace already exists.
*The XML Schema asset already has an attached schema file
In this case, you can attach any schema file to it, even with a different file name and/or different namespace (the targetNamespace attribute from the schema element).
Moreover you have the choice between just overwriting the schema asset or creating a new version.
*Overwrite latest version
The schema content in the repository gets replaced by the new content. The asset's name and the classifications localName and namespace are modified according to the new information.
*Create new version
A new asset will be established with the information from the schema file which will be a new version of the attached one. The original schema asset will not be modified.
See Adding an Asset to the Catalog Using an Importer for a general description of the mechanisms used when a schema file is attached to an XML Schema asset.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback