Subject: RE: using the href attribute
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 13 Jun 2003 16:29:05 -0400
|
[ Kathy Burke]
> I apply this template and my html page works to open up the
> link -- but in
> the same browser window.
>
> <xsl:template match="link">
> <a href="{@url}"><xsl:apply-templates/></a>
> </xsl:template>
>
> Since I need the link to open into a new browser window...I
> tried to do
> that, but
> I'm just not getting how the first way works and why this
> next one doesn't:
>
The target attribute determines where a link opens -
<a href='http://www.example.com/docs'
target='show_docs'>Docs</a>
If a window or frame named "show_docs" is already open, the linked url
will open in it, otherwise a new window with that name will be opened.
Try to get your html working BEFORE worrying about your xslt transforms.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Passin, Tom - Fri, 13 Jun 2003 16:29:41 -0400 (EDT) <=
Kathy Burke - Sun, 15 Jun 2003 10:01:46 -0400 (EDT)
|
|