if (kt.getKeyTableName().equals(name) && doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref); new KeyTable(doc, nscontext, name, template.getStylesheetRoot().getKeysComposed(), xctxt); if (doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref);
XPathContext xctxt = ki.getXPathContext(); Vector keyDecls = getKeyDeclarations(); int nKeyDecls = keyDecls.size(); addValueInRefsTable(xctxt, exprResult, currentNode); } else { DTMIterator i = ((XNodeSet)xuse).iterRaw(); XMLString exprResult = dtm.getStringValue(currentNodeInUseClause); addValueInRefsTable(xctxt, exprResult, currentNode);
/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }
/** * @return key declarations for the key associated to this KeyTable */ private Vector getKeyDeclarations() { int nDeclarations = m_keyDeclarations.size(); Vector keyDecls = new Vector(nDeclarations); // Walk through each of the declarations made with xsl:key for (int i = 0; i < nDeclarations; i++) { KeyDeclaration kd = (KeyDeclaration) m_keyDeclarations.elementAt(i); // Add the declaration if the name on this key declaration // matches the name on the iterator for this walker. if (kd.getName().equals(getKeyTableName())) { keyDecls.add(kd); } } return keyDecls; }
XNodeSet refNodes = (XNodeSet) getRefsTable().get(ref);
/** * @return key declarations for the key associated to this KeyTable */ private Vector getKeyDeclarations() { int nDeclarations = m_keyDeclarations.size(); Vector keyDecls = new Vector(nDeclarations); // Walk through each of the declarations made with xsl:key for (int i = 0; i < nDeclarations; i++) { KeyDeclaration kd = (KeyDeclaration) m_keyDeclarations.elementAt(i); // Add the declaration if the name on this key declaration // matches the name on the iterator for this walker. if (kd.getName().equals(getKeyTableName())) { keyDecls.add(kd); } } return keyDecls; }
XNodeSet refNodes = (XNodeSet) getRefsTable().get(ref);
if (kt.getKeyTableName().equals(name) && doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref); new KeyTable(doc, nscontext, name, template.getStylesheetRoot().getKeysComposed(), xctxt); if (doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref);
XPathContext xctxt = ki.getXPathContext(); Vector keyDecls = getKeyDeclarations(); int nKeyDecls = keyDecls.size(); addValueInRefsTable(xctxt, exprResult, currentNode); } else { DTMIterator i = ((XNodeSet)xuse).iterRaw(); XMLString exprResult = dtm.getStringValue(currentNodeInUseClause); addValueInRefsTable(xctxt, exprResult, currentNode);
/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }
/** * @return key declarations for the key associated to this KeyTable */ private Vector getKeyDeclarations() { int nDeclarations = m_keyDeclarations.size(); Vector keyDecls = new Vector(nDeclarations); // Walk through each of the declarations made with xsl:key for (int i = 0; i < nDeclarations; i++) { KeyDeclaration kd = (KeyDeclaration) m_keyDeclarations.elementAt(i); // Add the declaration if the name on this key declaration // matches the name on the iterator for this walker. if (kd.getName().equals(getKeyTableName())) { keyDecls.add(kd); } } return keyDecls; }
XNodeSet refNodes = (XNodeSet) getRefsTable().get(ref);
if (kt.getKeyTableName().equals(name) && doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref); new KeyTable(doc, nscontext, name, template.getStylesheetRoot().getKeysComposed(), xctxt); if (doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref);
XPathContext xctxt = ki.getXPathContext(); Vector keyDecls = getKeyDeclarations(); int nKeyDecls = keyDecls.size(); addValueInRefsTable(xctxt, exprResult, currentNode); } else { DTMIterator i = ((XNodeSet)xuse).iterRaw(); XMLString exprResult = dtm.getStringValue(currentNodeInUseClause); addValueInRefsTable(xctxt, exprResult, currentNode);
/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }
/** * @return key declarations for the key associated to this KeyTable */ private Vector getKeyDeclarations() { int nDeclarations = m_keyDeclarations.size(); Vector keyDecls = new Vector(nDeclarations); // Walk through each of the declarations made with xsl:key for (int i = 0; i < nDeclarations; i++) { KeyDeclaration kd = (KeyDeclaration) m_keyDeclarations.elementAt(i); // Add the declaration if the name on this key declaration // matches the name on the iterator for this walker. if (kd.getName().equals(getKeyTableName())) { keyDecls.add(kd); } } return keyDecls; }
XNodeSet refNodes = (XNodeSet) getRefsTable().get(ref);
if (kt.getKeyTableName().equals(name) && doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref); new KeyTable(doc, nscontext, name, template.getStylesheetRoot().getKeysComposed(), xctxt); if (doc == kt.getDocKey()) nl = kt.getNodeSetDTMByKey(name, ref);
XPathContext xctxt = ki.getXPathContext(); Vector keyDecls = getKeyDeclarations(); int nKeyDecls = keyDecls.size(); addValueInRefsTable(xctxt, exprResult, currentNode); } else { DTMIterator i = ((XNodeSet)xuse).iterRaw(); XMLString exprResult = dtm.getStringValue(currentNodeInUseClause); addValueInRefsTable(xctxt, exprResult, currentNode);
/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }