|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using the href attribute
[ 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








