Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
/**
* Strip off namespace prefix
*/
private static String getLocalPart(String tagName) {
if (tagName.indexOf(":") > 0) {
return tagName.split(":")[1];
} else {
return tagName;
}
}
}