[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re:
well the first thing I would do is find the reason why it didn't load by using this code: if bRet = false then msgbox objInXmlDoc.parseError.reason & " on line " & objInXmlDoc.parseError.line end if At 04:03 AM 2/6/02 +0000, you wrote: >I have broken my head enough...can anybody help? > >My xml file looks like this ..... > >BatchRecon.xml > ><?xml version="1.0" encoding="UTF-8"?> ><!DOCTYPE BatchRecon SYSTEM "BatchRecon.dtd"> ><BatchRecon DocumentId="6"> ><OrderData> >--------data ----------- ></OrderData> ></BatchRecon> > >When I try to load it using MSXML.DOMDOCUMENT object >it fails to load the document. I am using following >vb(6.0)code to load the document. > >Set objInXmlDoc = New MSXML2.DOMDocument >bRet = objInXmlDoc.Load(BatchRecon.xml) > >But as soon as the <!DOCTYPE element is removed, it >loads properly... am using MSXML 3.0.....and believe >that MSXML 3.0 does support <!DOCTYPE... element. > >I have made sure that the dtd exists, path is correct >and it is valid...since it validates the xml doc with >no errors in xml spy... > >I was trying xsl tranfromation with <xsl:output >doctype-system="abc.dtd">, which did not work due to >the above root problem... > >Thanks >Anjali > > > >__________________________________________________ >Do You Yahoo!? >Everything you'll ever need on one web page >from News and Sport to Email and Music Charts >http://uk.my.yahoo.com > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|