Subject: Handling Attributes with no values in XML
From: "ciaran byrne" <ciaran.byrne@xxxxxxx>
Date: Thu, 27 Jul 2000 16:49:40 +0100
|
Hi all,
I'm converting from HTML to XML using MSXML.
My problem is handling the case where you have an attribute with
no value
e.g.
<frame name="cornerFrame" scrolling="NO" noresize
src="Frames/cornerFrame.htm" >
here you will see that the noresize attribute doesn't have a value.So, when
loading
it up using
docXML.loadXML(strHTML) I get an error.
Has anyone ever dealt with this issue..or indeed can it be dealt with..
that my friends is the million dollar question.
Ciaran.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|