• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml or html ?

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
very suprised.
open http://www.infoworld.com/articles/hn/xml/01/02/19/010219hncmcase.xml
I got a html file.
Is it a xml or html file? How did they implement it?
Thanks!
-Zhining Zhang
 
Zhining Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I guess that the xml file is a real xml file. When opening it, the server uses default template to render it.
Try to download, or 'save as', the xml file, you will get .html file ( note, .html extension). http://www.infoworld.com/articles/hn/xml/01/02/19/

this page uses print template with the same xml file.
http://staging.infoworld.com/articles/hn/xml/01/02/19/010219hncmovrvw.xml?Template=/storypages/printfriendly.html
It is interesting to me, because it is that xml files (data) use different templates, not templates use xml files.
Thanks!
-Zhining
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic