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

Re: Attribute name and value

Subject: Re: Attribute name and value
From: "Lisa Pease" <lisap@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Jun 1998 18:04:17 -0700
td atttribute
If you are doing this exactly as written - you have one too many t's in
"atttribute" both times. Maybe that's all it was!


-----Original Message-----
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
To: 'xsl-list@xxxxxxxxxxxxxxxx' <xsl-list@xxxxxxxxxxxxxxxx>
Date: Monday, June 01, 1998 4:54 PM
Subject: RE: Attribute name and value


>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
>


 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.