Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM xml

date posted 28th September 2002 12:10

> I read the info on XSL and it had an example of converting XML to XHTML
> server side with ASP to get over the lack of browser support. Is there
> any draw backs to this? If not i think I might have a go at doing a site
> with it.

This method of creating sites is lovely once you have put the effort into
refining a working method that works for you as there are so many ways of
achieving the same end result.

Problems you might have/Thing worth remembering
1. If the data in your XML is coming from a database the chances are that
your users will have keyed in nasty characters like & or pasted text from
Word that includes those horrible ` instead of '. This stuff will need
replacing or escaping in CDATA tags
2. Write a good 'transform' subroutine that includes some form of error
reporting for the XSL and XML and use this in an include for every transform
you do. Will save you plenty of time in debugging.
3. Write a little debug routine to output any XML you have built
programmatically to the screen or a file. Again, essential for debugging.

I've been trying to do every site that is big enough to warrant the extra
work using XSL/XML for over a year now and I hate having to go back to
having pages full of ;)

It is so nice having one styleshhet that is used for every page in the site
that you can just fire XML into the get the desired results. I could carp on
about this nonsense for hours so if you want some examples of sites that are
entirely built like this, and some code to look at let me know.

Andy





Messages by Day
September 30th 2002
September 29th 2002
September 28th 2002
September 27th 2002
September 26th 2002
September 25th 2002
September 24th 2002
September 23rd 2002
September 22nd 2002
September 21st 2002
September 20th 2002
September 19th 2002
September 18th 2002
September 17th 2002
September 16th 2002
September 15th 2002
September 14th 2002
September 13th 2002
September 12th 2002
September 11th 2002
September 10th 2002
September 9th 2002
September 8th 2002
September 7th 2002
September 6th 2002
September 5th 2002
September 4th 2002
September 3rd 2002
September 2nd 2002
September 1st 2002


Messages by Month
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000