Print Page | Close Window

XML and XSL

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22899
Printed Date: 29 March 2026 at 5:00pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: XML and XSL
Posted By: theSCIENTIST
Subject: XML and XSL
Date Posted: 14 March 2007 at 3:35pm
Hi folks,
 
Its been sometime, and I remembered it might be a good idea to ask here.
 
I'm going through some upgrades and one of the jobs involve some XMLing with XSL and eventualy XSLT to output XHTML.
 
All data is store on a database, and for what I have been reading about the subject, everything points to the data being in XML files initially but our data is on a database, am I missing something here?
 
Why would anyone want to store data on XML files as opposed to a database?
 
Can anyone explain this, and if data is to exist on XML files, who writes these files?


-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com



Replies:
Posted By: michael
Date Posted: 15 March 2007 at 1:54pm
XML does not have to be files; you can store XML in  databases, SQL Server 2005 and some others have even a field type to store XML. Now XML is not supposed to hold data that is frequently changing so for certain scenarios like configuration files, descriptor files and i.e. a fixed small pricelist xml would work. You always have to find the best tool for what you want to do. XML is structured and easy to work with, cross-platform compliant etc. so it has a lot of advantages.
 
So if you have larger data like this forum or so, xml would work but is not necessarily advisable. Now the theme for this forum or something similar, as it does not change very often would be a descent fit for XML


-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: theSCIENTIST
Date Posted: 15 March 2007 at 5:42pm
Ok, thanks for that, so if I want to make use of XSLT to output XHTML, and all my data is not stored on XML, what would be necessary to acheive this?
 
Sorry for being so naive, I'm sure that once I understand the basics I will take over, however, all I have read so far is based on having data on XML, and what confuses me is that all my data is in databases.


-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net