This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with name="type" in html input tag


Your first template rule:

  <xsl:template match="the_item"> 

outputs:

  <input type="hidden" name="storytype" value="54"/>

And your second template rule:

  <xsl:for-each select="*[@type!='input_hidden' and @type!='buttons' and
  @type!='scripts' and @type!='small_popup' and @type!='other_creator']">

outputs:

 Feature

I think that is what you want, so I can't confirm you problem using 
either MSXML3 or Saxon. I also changed back and forth with the attribute
name "storyType" and "type" with no difference in behavior.

I note howver, that your key defintion is missing. Could you post self
contained code or give it another try? Most likely something is different
between what your are testing and what you posted.

Regards,

Dan

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]