RE: getAttribute()

Subject: RE: getAttribute()
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Mon, 6 Apr 1998 18:54:32 -0700
		-----Original Message-----
		From:	Daniel Pitti
		Sent:	Monday, April 06, 1998 4:42 AM


		If memory serves, there is a bug in the getAttribute
function; if the
		targeted attribute is not present on any of the target
elements, you get
		the error below. MS knows about it.


Yes, this is true.  If you have "year" elements without "which" attributes
or "event" elements without "status" elements MSXSL will generate this error
instead of returning null.  The easiest workaround in this case would be to
make sure these attributes are always present.

Jonathan Marsh
phone   425.703.4591
 <mailto:jmarsh@xxxxxxxxxxxxx> jmarsh@xxxxxxxxxxxxx


 XSL-List info and archive:

Current Thread