question: protected ElemVariable createGlobalPseudoVarDecl ( QName uniquePseudoVarName , StylesheetRoot stylesheetRoot , LocPathIterator lpi ) throws org . w3c . dom . DOMException { ElemVariable psuedoVar = new ElemVariable ( ) ; psuedoVar . setIsTopLevel ( true ) ; XPath xpath = new XPath ( lpi ) ; psuedoVar . setSelect ( xpath ) ; psuedoVar . setName ( uniquePseudoVarName ) ; Vector globalVars = stylesheetRoot . getVariablesAndParamsComposed ( ) ; psuedoVar . setIndex ( globalVars . size ( ) ) ; globalVars . addElement ( psuedoVar ) ; return psuedoVar ; }
target:  Create a psuedo variable reference that will represent the  shared redundent XPath, for a local reduction.