Solved

HTML tags in XSL

Posted on 2009-05-06
6
755 Views
Last Modified: 2013-11-19
how can i display html tags like <FORM> , <DIV> and <SELECT> in xsl
0
Comment
Question by:mkarthik415
  • 3
6 Comments
 
LVL 7

Accepted Solution

by:
aamodt earned 250 total points
ID: 24319047
<div><xsl:value-of slect="test"/></div>

it is just straight forward.. i just compelted an assigment on this, and its just too write outside the <xsl> tags

http://www.w3schools.com/Xsl/xsl_editxml.asp
0
 
LVL 39

Assisted Solution

by:abel
abel earned 250 total points
ID: 24319053
Sounds like an XSLT question to me (this is the XSL-FO list).

I'm not sure about what you mean with "display", but you can output any tags using XSLT by using the literal result elements, which is just equal to their HTML equivalent.

If you do mean XSL-FO, then it is dependent on what you mean with "display". XSL Formatting Objects is about displaying data and can be rendered to any format, like PDF, PS, HTML, even Word DOC can be supported...
0
 
LVL 39

Assisted Solution

by:abel
abel earned 250 total points
ID: 24319355
> posted at wrong place

sorry, but that's not really a problem. Most XSLT people are listening in on XSL-FO as well and if you want to switch zones, you can ask a moderator to do so by clicking "request attention". Please don't request to delete questions that already have a thread.
0
 
LVL 39

Assisted Solution

by:abel
abel earned 250 total points
ID: 24347209
aamodt and I both give the same answer (using literal result elements) which is the answer considering the current question. Recommendation / proposal a 50/50 split:

#24319047 for 250pts
#24319053 for 250pts
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now