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

Building html links in xml

Subject: Building html links in xml
From: "Jackson Zettler" <jacksonzettler@xxxxxxxx>
Date: Wed, 17 Dec 2003 11:37:23 -0500
html links in xml
Hello,

Is it possible to build an html link into your xml, and have it rendered in
your xslt style sheet as html?

In the example below, I want to show the description for a product as a
link.  I have problems with the "<" and ">" and the "&" in the URL. If I
don't encode these characters then I get errors, as expected.  However if I
encode all of the special characters like they are supposed to be, then my
page displays the link as text, not as a link.

What do I have to do to make the display render as a link and not text.

I hope that makes sense.

<product page="1" expand="0x00793820" parent="501">
 <vendor>Grumbacher</vendor>
 <description><a
href='/olc/drill-down2.w?parent=501&page=1&expand=0x00793820'
onclick='top.checkClickFlag();'>MAX ArtistsÂ? Oil Colors</a></description>
 <subproduct parent="501">
  <description>37 ml. Tubes</description>
 </subproduct>
 <subproduct parent="501">
  <description>150 ml. Tube</description>
 </subproduct>
</product>

Jackson



 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.