AuthenticView.UpdateXMLInstanceEntities

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Reference > Objects > AuthenticView >

AuthenticView.UpdateXMLInstanceEntities

See also

 

Method: UpdateXMLInstanceEntities ()

 

Description

Updates the internal representation of the declared entities, and refills the entry helper. In addition, the validator is reloaded, allowing the XML file to validate correctly. Please note that this may also cause schema files to be reloaded.

 

Errors

The method never returns an error.

 

Example

// -----------------------------------------

//               JavaScript

// -----------------------------------------

var objDocType;

objDocType = objPlugin.XMLRoot.GetFirstChild(10);

 

if(objDocType)

{

 var objEntity = objPlugin.CreateChild(14);

 objEntity.Name = "child";

 objEntity.TextValue = "SYSTEM \"child.xml\"";

 objDocType.AppendChild(objEntity);

         

 objPlugin.AuthenticView.UpdateXMLInstanceEntities();

}


© 2018 Altova GmbH