?
Solved

XSLT transform XML into HTML before it is displayed by a browser

Posted on 2016-11-01
5
Medium Priority
?
52 Views
Last Modified: 2016-11-08
Hi,
I would like to display XML tags inside HTML view using XSL.
I found this information in the web.
http://www.htmlgoodies.com/beyond/css/displaying-xml-files-using-css.html
In the example “breakfast_menu”,  I don’t know how to indicate template match

Thanks for your comments,
Regards,
0
Comment
Question by:alcani
[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
  • 2
  • 2
5 Comments
 
LVL 27

Expert Comment

by:BigRat
ID: 41870010
What does your XML look like?
0
 
LVL 35

Expert Comment

by:ste5an
ID: 41871410
The link posted is about displaying XML documents instead of HTML pages. So you can use it with IFRAME's, but not as partial view.
0
 

Accepted Solution

by:
alcani earned 0 total points
ID: 41872614
Thnaks for your coments,

I found what I need.

Eg.
<xsl:value-of select="document('file.xml')//Node/@attribut"/>

Regards,
0
 
LVL 35

Expert Comment

by:ste5an
ID: 41872878
Instead of that, add a default transform to your XML document.
0
 

Author Closing Comment

by:alcani
ID: 41878484
look at my comments.
Regards
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

764 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