Solved

HTML tags in XSL

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

746 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

12 Experts available now in Live!

Get 1:1 Help Now