Class XMLChildPos

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.xml.XMLChildPos

@BoxBIF @BoxMember(type=XML) public class XMLChildPos extends BIF
  • Constructor Details

    • XMLChildPos

      public XMLChildPos()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Gets the position of a child element within an XML document object. The position, in an XmlChildren array, of the Nth child that has the specified name.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The position of the child element. 1-based.