function LoadXml(shortPath:string;var xmlobj: IXMLDOMDocument):boolean; var tmpXml:IXMLDOMDOCUMENT; begin shortPath:=localPath+shortPath; if not FileExists(shortPath) then begin LoadXml:=false; exit; end; tmpxml := CreateOLEObject('Microsoft.XmlDom')
MultiThreadOnXml类: package com.janson.multiThread; import org.testng.annotations.Test; public class MultiThreadOnXml { @Test public void test1() { System.out.printf("Thread Id : %s%n",Thread.currentThread().getId()); } @Test public void test2()