XML question

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/2/2009 12:25:52 PM
Gravatar
Total Posts 118

XML question

I have been trying to play with the XML modul to see what it can do - however when I add it as cdontent to a page I get a page not found error when I try and edit it - the same happens on the demo site - any ideas ?

 

neil 

1/2/2009 12:49:46 PM
Gravatar
Total Posts 18439

Re: XML question

I confirm this as a bug and will fix it right now. Its just a broken link for the edit page, it has a link for XmlXsl/Edit.aspx but it really should be XmlXsl/XmlEdit.aspx

I will fix this now, if you want to try the feature just manually fix the url when you see that error by changing it to XmlEdit.aspx

Then you will see a dropdown for choosing the xml and a dropdown for choosing the xsl but really there are no xml or xsl files in the demo site so I guess I should remove that feature from the demo. You can try it on your own site though as there is 1 xml file and 1 xsl file in the site 1, but the demo site is a child site that gets replaced frequently and doesn't have the sample files nor an easy way of maintaining it to have them.

Its not a feature I use at all myself, but basically it uses an xml file and and xsl file to transform the xml data into html. Its really only useful if you already have some xml content and xsl style sheets you want to use as content in your site.

Best,

Joe

1/2/2009 12:52:47 PM
Gravatar
Total Posts 118

Re: XML question

Thanks I will have a play - what I am looking for is an easy way to add race results to a site that come initially from excel - I figured it was a possible way to do it

 

Neil 

1/2/2009 12:57:18 PM
Gravatar
Total Posts 118

Re: XML question

where abouts is the xsl file - I have found the xml one but cant find the xsl

 

Neil

1/2/2009 1:00:08 PM
Gravatar
Total Posts 18439

Re: XML question

Sounds like a good approach if you can find a way to transform the Excel into xml. Then the hard part is crafting a decent xsl file to transform it, but once you do that you could use the same xsl file over and over for each race result.

You can get the idea of whats needed by studying the files /Data/Sites/1/xml/sales.xml and /Data/Sites/1/xsl/sales.xsl

Best,

Joe

1/2/2009 1:01:58 PM
Gravatar
Total Posts 18439

Re: XML question

Argh, it looks like th xsl file is not in the release package, I'll email it to you, then you create a folder /Data/Sites/1/xsl and put it there.

Best,

Joe

1/2/2009 1:03:23 PM
Gravatar
Total Posts 118

Re: XML question

many thanks 

You must sign in to post in the forums. This thread is closed to new posts.