Discussion Locked

A lot of buzz about XML

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

There's a lot flying around recently about XML, and I think it may be suitable for my current project but, can't seem to get the right answers.

Does anybody have any information on using XML to publish documentation online. All the resources I have found are for technical documents, but I would like to apply XML technology to present print articles of a non-technical nature online.

Thanks in Advance

1 reply

by todd.kennedy - buzz.builder.com

XML might be pretty good for your project. It isn't the all-in-one-wonder-cure people sell it as today though.

First is you content stored in a database?

If your content is stored in a database, then XML can be a great solution. If your content is in a database then you probably get it out with some type of scripting language(ASP, PHP, JSP). This means that your code probably has the code to access the data on the same page as your HTML formatting information.

If you wanted to implement an XML solution then what this could help you do is seperate you code to make it more readable.

You could retrieve your data from the database as formatted XML. Then you could use another set of code that take that XML and combines it with an XSL document to produce your finished HTML that the end user will recieve.

The XSL document will contain all of your formatting information. The XML file contains all of the data.

This keeps things fairly seperate and makes it easierto make updates.

Hope this helps.

This discussion is closed to new replies.