Interface SiblingCountingNode

All Superinterfaces:
ActiveSource, GroundedValue, Item, Location, Locator, NodeInfo, Sequence, Source, SourceLocator
All Known Implementing Classes:
AbsentExtensionElement, AttributeImpl, CommentImpl, DataElement, DocumentImpl, DOM4JNodeWrapper, DOMNodeWrapper, ElementImpl, ExtensionInstruction, JDOM2NodeWrapper, LiteralResultElement, NodeImpl, ParentNodeImpl, ProcInstImpl, StyleElement, TextImpl, TextValueTemplateNode, XOMDocumentWrapper, XOMNodeWrapper, XSLAccept, XSLAcceptExpose, XSLAccumulator, XSLAccumulatorRule, XSLAnalyzeString, XSLApplyImports, XSLApplyTemplates, XSLArray, XSLArrayMember, XSLAssert, XSLAttribute, XSLAttributeSet, XSLBreak, XSLBreakOrContinue, XSLCallTemplate, XSLCatch, XSLCharacterMap, XSLChoose, XSLChooseOrSwitch, XSLComment, XSLContextItem, XSLCopy, XSLCopyOf, XSLDecimalFormat, XSLDocument, XSLElement, XSLEvaluate, XSLExpose, XSLFallback, XSLForEach, XSLForEachGroup, XSLFork, XSLFunction, XSLGeneralIncorporate, XSLGeneralVariable, XSLGlobalContextItem, XSLGlobalParam, XSLGlobalVariable, XSLIf, XSLImport, XSLImportSchema, XSLInclude, XSLItemType, XSLIterate, XSLKey, XSLLeafNodeConstructor, XSLLocalParam, XSLLocalVariable, XSLMap, XSLMapEntry, XSLMatch, XSLMatchingSubstring, XSLMerge, XSLMergeAction, XSLMergeKey, XSLMergeSource, XSLMessage, XSLMode, XSLModuleRoot, XSLNamespace, XSLNamespaceAlias, XSLNextIteration, XSLNextMatch, XSLNumber, XSLOnCompletion, XSLOnEmpty, XSLOnNonEmpty, XSLOtherwise, XSLOutput, XSLOutputCharacter, XSLOverride, XSLPackage, XSLPerformSort, XSLPreserveSpace, XSLProcessingInstruction, XSLResultDocument, XSLSequence, XSLSort, XSLSortOrMergeKey, XSLSourceDocument, XSLStylesheet, XSLSwitch, XSLTemplate, XSLText, XSLTry, XSLUsePackage, XSLValueOf, XSLWhen, XSLWherePopulated, XSLWithParam

public interface SiblingCountingNode extends NodeInfo
Interface that extends NodeInfo by providing a method to get the position of a node relative to its siblings.
  • Method Details

    • getSiblingPosition

      int getSiblingPosition()
      Get the index position of this node among its siblings (starting from 0)
      Returns:
      0 for the first child, 1 for the second child, etc.