Java Code Examples for org.w3c.dom.Node.lookupPrefix()

The following are Jave code examples for showing how to use lookupPrefix() of the org.w3c.dom.Node class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: java-tools   File:   Source Code and License Vote up 5 votes
public static String lookupPrefix( Node node, String uri )
	if ( uri != null && uri.equals("") )
		return "xml";

	return node.lookupPrefix( uri );