//walk up our chain to find the correct uri for our namespace. first one wins
String prefix = getPrefix();
IMXMLTagData lookingAt = this;
while (lookingAt != null)
{
PrefixMap depth = getParent().getPrefixMapForData(lookingAt);
if (depth != null && depth.containsPrefix(prefix))
{
uri = depth.getNamespaceForPrefix(prefix);
break;
}
lookingAt = lookingAt.getParentTag();
}
}