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

HTML output method: output a & character?

Subject: HTML output method: output a & character?
From: Kai.Grossjohann@xxxxxxxxxxxxxxxxxx (Kai Großjohann)
Date: 25 Oct 1999 13:08:02 +0200
char
I would like to convert XML of the following form:

    <search>foo</search>

into HTML output of the following form:

    <a href="/script.cgi?action=search&term=foo">...</a>

I've got a problem with the "&" character.  The best I was able to do
is to produce "&amp;", via the following XSL:

    <a>
      <xsl:attribute name="href">
        /script.cgi?action=search&amp;term=<xsl:value-of select="search"/>
      </xsl:attribute>
      ...
    </a>

Is there a way to get the "&" character into that URL?

I'm using James Clark's XT distribution as of 1999-10-08.

tia,
kai
-- 
Life is hard and then you die.


 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.