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

RE: Handling Attributes with no values in XML

Subject: RE: Handling Attributes with no values in XML
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Thu, 27 Jul 2000 14:47:44 EDT
handling attributes in xsl

I am useing: noresize="" It works.

From: "Julian Reschke" <julian.reschke@xxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxx>
Subject: RE: Handling Attributes with no values in XML
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

________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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.