Thank you very much for responding.
the lines have changed to:
<td>
<xsl:for-each select="repdocuments">
<table border="1">
<tr>
<td>
<a href="javascript:window.open('{docpath}')"><xsl:value-of
select="docdescrip"/></a>
</td>
</tr>
</table>
</xsl:for-each>
</td>
this opens a new window, and removes the table from the previous
window. Is it possible to not open a new window, but display what is opened
in the same browser window? Also, in this case a document (like .pdf, .tiff,
or
.snp) is displayed. Or if a new window has to be opened, can the table
remain visible in previous window?
tia,
dk
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
Américo
Albuquerque
Sent: Saturday, June 14, 2003 10:43 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] xsl href url in xml
Hi
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
dsk
Sent: Saturday, June 14, 2003 1:16 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl href url in xml
Hi, I believe I'm trying to do something similar. There is an
xml document with a url. How can xsl be used to format the
url so that when clicked it responds?
tia,
dk
(...)
<xsl:template match="link">
<a href="javascript:window.open('{xsl:value-of
select="docpath"/}')"><xsl:apply-templates/></a>
You don't need xsl:value-of in AVTs. Replace this line by:
<a href="javascript:window.open('{docpath}')"><xsl:apply-templates/></a>
Hope this helps you.
(...)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list