Solved

HTML tags in XSL

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

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.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

810 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