[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re:

Subject: Re:
From: "Corey A. Spitzer" <cspitzer@xxxxxxxxx>
Date: Wed, 06 Feb 2002 09:10:12 -0600
vb 6.0 msxml2.domdocument
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.