Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-11-01
5
Medium Priority
?
57 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

610 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