走
走来走去
Unregistered / Unconfirmed
GUEST, unregistred user!
private StringBuffer xml2Table(String s)
{
StringBuffer stringbuffer = new StringBuffer();
Object obj = null;
try
{
do
cumentBuilderFactorydo
cumentbuilderfactory =do
cumentBuilderFactory.newInstance();
do
cumentBuilderdo
cumentbuilder =do
cumentbuilderfactory.newDocumentBuilder();
do
cumentdo
cument =do
cumentbuilder.parse(new BufferedInputStream(new ByteArrayInputStream(s.getBytes("gb2312")));
org.w3c.dom.Element element =do
cument.getDocumentElement();
if(element.getNodeType() == 1 &&
"root".equals(element.getNodeName()))
stringbuffer.append("代码。。。。"
}
return stringbuffer;
}
{
StringBuffer stringbuffer = new StringBuffer();
Object obj = null;
try
{
do
cumentBuilderFactorydo
cumentbuilderfactory =do
cumentBuilderFactory.newInstance();
do
cumentBuilderdo
cumentbuilder =do
cumentbuilderfactory.newDocumentBuilder();
do
cumentdo
cument =do
cumentbuilder.parse(new BufferedInputStream(new ByteArrayInputStream(s.getBytes("gb2312")));
org.w3c.dom.Element element =do
cument.getDocumentElement();
if(element.getNodeType() == 1 &&
"root".equals(element.getNodeName()))
stringbuffer.append("代码。。。。"
}
return stringbuffer;
}