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

RE: More fun with MSIE

Subject: RE: More fun with MSIE
From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Sun, 15 Nov 1998 21:05:12 -0500
ed nixon e mail
Well this is an interesting question: What does "." stand for? Current 
'something'. I think in the draft it refers to the current element, i.e., 
generally the element matched by the template/select combination. With the MS 
implementation, I'm not so sure of this.				...edN

-----Original Message-----
From:	Steve Muench [SMTP:SMUENCH@xxxxxxxxxxxxx]
Sent:	Sunday, November 15, 1998 8:04 PM
To:	xsl-list@xxxxxxxxxxxxxxxx
Subject:	Re: More fun with MSIE

| o Lack of support for attribute value templates.  Expressions usable
|  in <xsl:value-of/> are also usable inside attribute values,
|  delimited by {...} in the WD.  MSIE does not support this, making
|  generated links impossible.  For example:
|
|  <xsl:template match="email">
|    <A HREF="mailto:{.}";>
|      <xsl:value-of select="."/>
|    </A>
|  </xsl:template>

I'm not familiar with what the "." syntax is implying, but I was able
to get a simple example like this to work fine.

The Data
--------
<stuff>
  <email foobar="smuench"/>
</stuff>

The Stylesheet
--------------
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template >
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="email">
  <a><xsl:attribute name="href"><xsl:eval>"mailto:";</xsl:eval><xsl:value-of
select="@foobar"/></xsl:attribute></a>
</xsl:template>
</xsl:stylesheet>

____________________________________________________________________________
 Steve  | Consulting PM & XML Technology Evangelist | smuench@xxxxxxxxxx
 Muench |      Java Business Objects Dev Team       | geocities.com/~smuench

         Get to know JBO at http://javatools/jbo/owa/walkthrough
                Do you XML? http://xml.us.oracle.com
 << Message: Re: More fun with MSIE >> 


 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.