Altova XMLSpy 2025 Enterprise Edition

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

}

 

Declaration: GetNextVisible (pElement as XMLData) as XMLData

 

Description

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

 

 

 

© 2018-2024 Altova GmbH