1. A method of generating an XML document in a computer system, wherein the computer system includes a script processor operable to interpret a script language, the computer system further including a script language, the script language including control statements for including data content and style information from a plurality of data sources, the method comprising: generating a first script having at least one script language control statement; processing the first script in the script processor to generate a first document specifying content to be included in the XML document; and processing the first script in the script processor to generate a second document specifying the style of the content in the XML document.