Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLHow the xml mod works?How the xml mod works?
Previous
 
Next
New Post
11/8/2012 9:32 PM
 

Hello, hoping someone can help me out here regarding the xml module and how it works overall.

Here's what I'm trying to do: cotrip.org has a series of xml files that shows traffic and traveling information here http://cotrip.org/xmlFeed.htm.  And also stand alone links such as this:http://www.cotrip.org/xml/speed_routes.xml.  We have permission to show these items on our dnn site.  Trying to get them to render something...

Brand new to xml and this module.  Been using dnn for sometime but done little to nothing with xml.  Trying to better understand what exactly this module does?  I have a series of xml, and xsd files that I'm trying to get populated onto a website.  Just want to get it showing first and then figure out how to show exactly what I want.  baby steps...

In theory, if I have the xml module installed on a dnn page should I be able to simply enter the location of the xml link/file (eg, http://www.cotrip.org/xml/speed_routes.xml ) and then have it automatically populate in html the results on the page where it is installed?  Do I have to apply any xlst to get it to render? when I try entering the links in the module literally nothing happens or shows.  Not sure if the module is really this simple, or if I'm completely missing everything here? 

sorry for the novice questions in advance but excited to figure this out.   Any help or links to help on this I would really appreciate.  thanks. Mike.

 
New Post
11/9/2012 3:57 AM
 

You need a XSLT script.

The XML file contains data. Each data source can have a different schema. The XML doesn't contains any information about  layout (well, beside from exceptions like html). XSL transforms the data into a layout.

w3schools offers a nice tutorial: http://www.w3schools.com/xsl/default.asp

 
New Post
11/9/2012 1:03 PM
 

Stefan,

thanks for the link.  I had actually reviewed the xml tutorial on that same site, but not the xls one.  So I'll do that next.  

In terms of the module though.  Lets assume I have the xml, and xls ready to go.  this makes sense.  Then for your module I would enter the location for xml, the location for the xls, and then it would render something, correct?  Is there anything else I need to take into consideration to make it work?  I understand that I can then apply various queries to show more specific info, but overall once the xls is done i'm good to go?

thanks!  Mike.

 
New Post
11/12/2012 9:31 AM
 

Mike,

yes, basically you write your xsl (xls= old extension for Excel Files), and you are done.

However the complexity of  XSL depends on your requirements. Very often you will filter the data based on user input. For example only speed routes of certain states, etc...  Depending on the source (think of large sources, for example all Amazon books), you need to pass arguments to the request. 

Or you want to do more stuff, for example you want to look up locations on a Google map, etc...

But all starts with a XSL script and a  XML source. 

Stefan



 
New Post
2/27/2013 7:50 AM
 
Hello Guys according to my expectation XML is widely used for saving information, especially for Web programs.The primary elements in an XML data file are classic,but the terms also allows a lot of variety.Each factor in XML must have an buying and selling label as in this example.XML details assumes a bush design.Thanks a lot!!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLHow the xml mod works?How the xml mod works?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out