[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Can I force XSLT to output the long-form of an el

Subject: RE: Can I force XSLT to output the long-form of an element rather than the shorthand form?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 7 May 2003 11:07:06 -0400
xsl force space
[Chris Loschen]

> Several people suggested forcing a space (or a non-breaking 
>  space) into the 
> empty anchor tag so
> that it would no longer be empty, but that would add an extra 
> space into my 
> copy (which would
> mean that the content is incorrect), and in any case, I'd end 
> up with an 
> underlined (hyperlinked)
> space which I don't want. These are actually intended to be 
> target anchors, 
> not clickable hyperlinks.

If the result is going to displayed in a browser, an internal anchor
(that is, an <a> element with no href attribute and with a name or id
attribute) does __not__ display as an underlined hyperlink.

Example -

This is <a name='a1'>an anchor</a>.

So in fact you can have your anchor enclose content without looking like
a link.

Cheers,

Tom P

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.