|
Subject: Re: building a link using MSXML(latest) From: Mike Brown <mike@xxxxxxxx> Date: Thu, 13 Jul 2000 11:05:07 -0600 (MDT) |
sixty nine wrote:
> <books>
> <book title="XML">
> <author>ZZZ</author>
> </book>
> <book title="ASP">
> <author>NNN</author>
> <author>MMM</author>
> </book>
> </books>
>
> I need to build a link:
> <a href="book.aspb?b=XML&au=zzz></a>
> <a href="book.aspb?b=ASP&au=nnn></a>
> <a href="book.aspb?b=ASP&au=mmm></a>
You forgot closing quotes.
Unescaped ampersands may be accepted by your browser but HTML
allows/prefers them to be properly escaped, and only the dumbest of
cell phones can't handle seeing & in URIs.
Use this:
<xsl:template match="book">
<a href="book.aspb?b={@title}&au={author}"/>
</xsl:template>
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| building a link using MSXML(latest), sixty nine | Thread | cocoon, sql, & xslt, Kari M. Scott |
| Re: newbie : dynamic include, David Carlisle | Date | Where is the documentation on posit, Charles Cantrell |
| Month |