domParser.Process throws Dom parser operation failed in lotus script -


i need read xml file local disk using lotus script. added code in script library , called notes view.

  origxml = "d:\dxl\xmldom.xml"   outputfile = "d:\dxl\domtree.txt"    on error goto errh    set session = new notessession       set db = session.currentdatabase    'create output file   set outputstream =session.createstream   outputstream.open (outputfile)   outputstream.truncate    set inputstream = session.createstream   inputstream.open (origxml)    'create dom parser , process   set domparser=session.createdomparser(inputstream, outputstream)   domparser.process 

output , input stream , getting. throws following error in domparser.process

dom parser operation failed

please me solve this. appreciated.

i have same error. see detail in domparser.log. maybe incorrect encoding type or not found xsd|xslt stylesheet url.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -