Altova Authentic 2024 Browser Edition

AuthenticView.UpdateXMLInstanceEntities

Home Prev Top Next

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();

}

 

© 2017-2023 Altova GmbH