Solved

Encoding external params inside XSL

Posted on 2008-10-03
1
173 Views
Last Modified: 2013-11-18
Im trying to fill a combobox from external params but i get the follow problem:

please, anyone can help me to get the SELECT filled to show to the user the list of options.
vb.net Code (work fine):
 
oArgs.AddParam("LISTA_CONDICIONES", "", "<option value=""all"">TODOS</option>")
oXSLT.Transform(oXML, oArgs, oSWriter)
 
the XSL file:
 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:param name="LISTA_CONDICIONES" />
 
	<xsl:template match="/">
		<SELECT><xsl:value-of select="$LISTA_CONDICIONES"/></SELECT>
    </xsl:template>
</xsl:stylesheet>
 
 
HTML Result:
<SELECT>&lt;option value="all"&gt;TODOS&lt;/option&gt;</SELECT>

Open in new window

0
Comment
Question by:Hans Langer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
Hans Langer earned 0 total points
ID: 22642016
ok, the solution is:
<SELECT><xsl:value-of disable-output-escaping="yes" select="$LISTA_CONDICIONES"/></SELECT>

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question