Solved

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

Posted on 2016-11-01
5
29 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
  • 2
  • 2
5 Comments
 
LVL 27

Expert Comment

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

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 32

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now