git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@1160
3cdefd35-fc62-479d-8e8d-
bae585ffb9ca
/** TaggedDesc(x,tag): returns the first node tagged tag with larger
* preorder than x and within the subtree of x. Returns NULT if there
* is none. */
/** TaggedDesc(x,tag): returns the first node tagged tag with larger
* preorder than x and within the subtree of x. Returns NULT if there
* is none. */
+ inline treeNode TaggedNext(treeNode x, TagType tag)
+ {
+ return tagpos2node(Tags->select_next(tag,node2tagpos(x)));
+ }
inline treeNode TaggedDescendant(treeNode x, TagType tag)
{
inline treeNode TaggedDescendant(treeNode x, TagType tag)
{