OldAuthenticView.GetNextVisible (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.GetNextVisible (obsolete)

Superseded by AuthenticRange.SelectNext

 

AuthenticRange now supports a wide range of element navigation methods based on document elements like characters, words, tags and many more. Selecting the text passage that represents the content of the next XML element is just one of them.

 

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

// instead of:

// var objCurrXMLData = ...

// var objXMLData = Application.ActiveDocument.DocEditView.GetNextVisible(objCurrXMLData);

// Application.ActiveDocument.DocEditView.SelectionSet (objXMLData, 0, objXMLData, -1);

// use now:

var objRange = ...

try

   { objRange.SelectNext (spyAuthenticTag).Select(); }

catch (err)

{

  if ((err.number & 0xffff) == 2003)

       MsgBox ("end of document reached");

  else

      throw (err);

}

 

See also

 

Declaration: GetNextVisible (pElement as XMLData) as XMLData

 

Description

The method gets the next visible XML element in the document.

 

 

 


© 2018 Altova GmbH