Subject: [xsl] Re: From: "Corey A. Spitzer" <cspitzer@xxxxxxxxx> Date: Wed, 06 Feb 2002 09:10:12 -0600 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[no subject], anjali chipalkatti | Thread | [xsl] Speed and memory problems whe, Andreas Voegele |
Re: [xsl] or predicates, Joerg Heinicke | Date | Re: [xsl] or predicates, Jeni Tennison |
Month |