You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Richard Emberson <re...@outerharbor.com> on 2002/09/05 15:07:10 UTC

Getting the type of an xpath

So you have an xpath string and xmlschema document instances of which
you
will be applying the xpath to. What you want to know is what is the
"type"
that the xpath will return. To find it you take the xpath and navigate
the
xmlschema definition until you get to the set of nodes, node, attribute,
or
content defined by the xpath at which point you know the type.
Is there a different way of getting the type? Has anyone written a tool
for walking an xpath + xmlschema document to get to the type?

Thanks.

Richard