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

I figured it out(was: no subject (sorry 'bout that))

Subject: I figured it out(was: no subject (sorry 'bout that))
From: mestdagh@xxxxxxxxxx
Date: Thu, 8 Jul 1999 10:37:59 -0600
application x isoview

I found a sample by viewing the xsl source on one of the MS pages.
Here's what I did in case anyone's interested.

  <xsl:template match="graphic">
    <embed>
      <xsl:attribute name="type">application/x-isoview</xsl:attribute>
      <xsl:attribute name="src"><xsl:value-of
select="@BOARDNO"/></xsl:attribute>
      <xsl:attribute name="border">1</xsl:attribute>
      <xsl:attribute name="width">400</xsl:attribute>
      <xsl:attribute name="height">300</xsl:attribute>
      <xsl:attribute name="view">Start</xsl:attribute>
    </embed>
  </xsl:template>

have a good day,
steve

---------------------- Forwarded by Steve Mestdagh/Boulder/IBM on 07/08/99 10:31
AM ---------------------------

From: Steve Mestdagh on 07/08/99 09:55 AM

To:   xsl-list@xxxxxxxxxxxxxxxx
cc:
From: Steve Mestdagh/Boulder/IBM@IBMUS
Subject:


Hi,
I'm attemping to grab the value of an attribute and stuff it into a embed/src
statement to display
in IE5 but haven't figured a way to make it happen. I've searched in the archive
and read
that xsl:variable isn't supported in IE5. I tried anyway to no avail. My last
attempt is using the
{} syntax for value-of which didn't give me an error but didn't display my cgm
files. The cgm
does display if I put it directly in the src, like src="123.cgm", so I know the
embed is working.

Any help would be greatly appreciated by this budding novice.

Here's the XML snip:
<graphic BOARDNO="00018.cgm"></graphic>

Here's the XSL snip:
  <xsl:template match="graphic">
    <div align="center">
    <embed type="application/x-isoview" src={@BOARDNO} border="1" width="400"
height="300" view="Start"/>
    <!--
^^^^^ problem ^^^   -->
    <xsl:apply-templates/>
    </div><p/>
   </xsl:template>

have a good day,
steve

motd:  "One of the surest signs that life exists in outer space is that none of
it has tried to contact us yet."
- Normandy Alden
ph:       303.924.1522
mail:    mestdagh@xxxxxxxxxx
notes: Steve Mestdagh/Boulder/IBM@IBMUS




 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.