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

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">
      <xsl:attribute name="type">application/x-isoview</xsl:attribute>
      <xsl:attribute name="src"><xsl:value-of
      <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>

have a good day,

---------------------- 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
From: Steve Mestdagh/Boulder/IBM@IBMUS

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

have a good day,

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