Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - XML and XSL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XML and XSL

 Post Reply Post Reply
Author
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post Topic: XML and XSL
    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?
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.