OldAuthenticView.SaveXML (obsolete)

www.altova.com Imprimer cette rubrique Page précédente Un niveau supérieur Page suivante

Accueil >  Programmers' Reference > Application API > Interfaces (obsolete) > OldAuthentictView (obsolete) >

OldAuthenticView.SaveXML (obsolete)

Superseded by AuthenticView.AsXMLString

 

AuthenticView now supports the property XMLString that can be used to directly access and replace the document content as an XMLString.

 

// ----- javascript sample -----

// instead of:

// var strDocAsXMLString = Application.ActiveDocument.DocEditView.SaveXML();

// use now:

try

{

   var strDocAsXMLString = Application.ActiveDocument.AuthenticView.AsXMLString;

   ... // do something here

}

catch (err)

   { MsgBox ("Error: invalid XML string"); }

 

See also

 

Declaration: SaveXML as String

 

Return Value

XML structure as string

 

Description

Saves the current XML data to a string that is returned to the caller.

 

 

 


© 2018 Altova GmbH