scripting

Subject: scripting
From: "Rakesh Mohan" <rakesh@xxxxxxxxxxxxxx>
Date: Thu, 26 Feb 1998 16:21:07 -0500
Is there a way to convert

<img>foo.jpg</img>

to <img src="foo.jpg"> without scripting?

Also, in the Miscrosoft example summary.xsl

we have 
 <rule>
  <target-element type="PREVIEW-SMALL"/>
  <IMG src='=getAttribute("src")'
    width='=getAttribute("width")'
    height='=getAttribute("height")'
    alt='=getAttribute("alt")'
    border="1px solid black"/>
 </rule>

how come the closing /> (in border=...) get converted to >

Handling HTML tags which have no end tag:
    how do I introduce an <hr> tag in the action part of a rule?

Thanks,
Rakesh Mohan



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


Current Thread
  • scripting
    • Rakesh Mohan - Thu, 26 Feb 1998 16:21:07 -0500 <=
      • <Possible follow-ups>
      • Jonathan Marsh - Thu, 26 Feb 1998 13:57:03 -0800