Solved

HTML tags in XSL

Posted on 2009-05-06
6
761 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't get cursor to change 3 16
Table doesn't show the lines! 3 25
Text color and background in a text box. 2 26
CSS for <center> 14 35
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 look for a specific file type in a local or remote server directory using PHP.

730 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