Subject: RE: Handling Attributes with no values in XML From: "Julian Reschke" <julian.reschke@xxxxxx> Date: Thu, 27 Jul 2000 18:46:15 +0200 |
> From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of ciaran byrne > Sent: Thursday, July 27, 2000 5:50 PM > To: XSL-List > Subject: Handling Attributes with no values in XML > > > 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. In XML, you need to represent that as noresize="noresize". When using the HTML output mode of XSLT, it automatically gets minimized to the non-value form. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Handling Attributes with no values , ciaran byrne | Thread | RE: Handling Attributes with no val, ciaran byrne |
RE: MSXML calling external object, Paulo Gaspar | Date | RE: Would you use Cocoon to a big p, Paulo Gaspar |
Month |