Solved

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

Posted on 2016-11-01
5
48 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 34

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 34

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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 …

687 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