• 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

Rendering XML in browser

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If I want to render content from multiple xml files in browser, what technologies can I use? I wuld like to see the content in a report/table format when rendered in browser.

The environment currently has Active Perl available. But I can install other software if needed.

I wuld like to know the possiblities so I can do some learning/research in the right direction.
Can someone point me to possible solutions?
Thank you
 
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Neetu,

Do you really need new softwares for this ?

I mean, if all you need is to represent an xml file contents in a table/report, can't we just make use of Javascript to parse the
xml at browser level and display it as a table, at runtime ? Thats what the traditional Ajax approach was all about, right?

Dawn.

 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can transform XML to HTML (tables or whatever you like) using XSLT. You could do this on the server using an XSL transformer, or you could have the browser do it by inserting a suitable processing instruction at the beginning of the XML.
 
neetu shri
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have used XSLT as processing instruction in an xml file. But if I have say f1.xml, f2.xml ...fn.xml and want to get data from all these files to display in a table format ---how do i do that? using xslt, i could do it with a single xml file.
thanks.
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to look into the document() function.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic