RE: Attribute name and value

Subject: RE: Attribute name and value
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Mon, 1 Jun 1998 17:23:44 -0700
This looks fine to me - I get the same error you do.  I don't know exactly
what is going on here, but I will try to ensure that the next release
behaves better.

Jonathan Marsh
Program Manager, XSL
jmarsh@xxxxxxxxxxxxx

		-----Original Message-----
		From:	David CODISH [mailto:dcodish@xxxxxxxxx]
		Sent:	Sunday, May 24, 1998 10:12 PM
		To:	XSL-List@xxxxxxxxxxxxxxxx
		Subject:	Attribute name and value

		Hello list,

		I have a problem with attributes.
		I have the following XML file:

		     <DTITLE>
		          <Name type="1">America Online</Name>
		          <Duration>59</Duration>
		          <Modif>1998-2-2 19:34:19</Modif>
		     </DTITLE>
		     <DTITLE>
		          <Name type="4">Athlete's Foot</Name>
		          <Duration>58</Duration>
		          <Modif>1998-2-2 19:34:28</Modif>
		     </DTITLE>


		And the corresponding XSL rule are:

		     <rule>
		          <target-element type="Name">
		               <atttribute name="type" value="1"/>
		          </target-element>
		          <td><img
src="/dalet/images/sndol.gif"/><children/></td>
		     </rule>

		     <rule>
		          <target-element type="Name">
		               <atttribute name="type" value="4"/>
		          </target-element>
		          <td><img
src="/dalet/images/story.gif"/><children/></td>
		     </rule>

		When using MSXML, both type="1" and type="4" get the same
image. MSXML
		always uses the second rule (actually it probably overrides
the first
		rule).

		Is there something wrong with my syntax?

		tnx.
		David Codish



		 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