Pioneer Skin
Login  ::  Register
Thursday, February 09, 2012
 
- - - - - - - - Sponsorship Advertisement Area - - - - Thank you to our Sponsors - - - - - - - - -
Net Magik Pros - Battle Creek, Michigan Web Designers
WGD Discussion Forum
SearchForum Home
     
  Web Design  Programming  XML to HTML...
 XML to HTML
 
 3/5/2007 1:26:17 AM
magikmarc
40 posts
www.netmagikpros.com


XML to HTML
I have a question for all of you programmers out there. Is it possible to convert an XML document into HTML. To make it a little more clear, what I would like to do is create an XML document for a site map, but then I would also like to put a link to a sitemap on a website. I would like the text/links etc. to come from the XML document so that way, when I update the XML document, the sitemap HTML page would also be updated. I have heard that XSLT would probably do the trick, but I have also heard that it is very picky.
MagikMarc
WDG Forum Webmaster
Net Magik Pros Web Design
 3/23/2007 10:43:21 PM
terrydavidson
10 posts
www.terrydavidson.com


Re: XML to HTML

I think I see what you are doing and this is what popped into my head ... it's a different approach (or way to look at it). You could always create the XML sitemap and the sitemap text/links within the same page or on 2 separate pages within the same site. When you want to include the sitemap links or the saitemap within another site it could be easily done using the iframe tags pointing to your respective page(s). That way regardless of what changes you make, links, text or comments they would always be reflected on the external websites calling the page within the iframe tags.

One key would be to pick a width for the page and never alter it since external websites calling the page would be best coded to have a fixed width for the iframe to keep their site layout consistent.

Just a twist to your question that mayhekp.

Terry Davidson
WGD Forum


Terry Davidson
WGD Forum
 3/24/2007 11:47:02 AM
magikmarc
40 posts
www.netmagikpros.com


Re: XML to HTML

I think I understand what you are saying, but what I'm trying to do is make it to where the links show up like a regular link on a web page and not that stuff that shows up when you go to an xml page. It's kind of unfriendly (if ya know what I mean)

But the iframe would definitely work if all I wanted to do was display the xml page itself.

Thanks for the input Terry


MagikMarc
WDG Forum Webmaster
Net Magik Pros Web Design
 3/24/2007 7:09:20 PM
magikmarc
40 posts
www.netmagikpros.com


Re: XML to HTML

I finally got an answer to the problem. You can go to www.netmagikpros.com/sitemap.asp to see the solution.

If anyone would like more details, please email me and I will do my best to answer how to do this. It's an easy solution once you understand the concept behind it, but trying to understand everything about it is very difficult.

Thanks for the suggestions.


MagikMarc
WDG Forum Webmaster
Net Magik Pros Web Design
  Web Design  Programming  XML to HTML...
Copyright 2007-2008 by WGD Forum :: Designed by ZapWebDesign.com