Hi,
>Oh, thanks for the explanation. In my basic study of context.xml file of OOo, apart from other elements, it has a set of < style > < / style > where each is given it's font and weight, they are all at the very top of the file. These styles are then later used in contents. This is much different than what Marcia has given in her example, where the XML was more in record formation and the XSL was formatting them for usage.
I *think* context.xml is an Apache specific XML format and, if so, I'm unfamiliar with its usage (or whether it will be helpful in your situation). The example Marcia provided demonstrated the basic use of XSL transformations.
>
How can content.xml kind of file be loaded except for manually (FOPEN(), FREAD(), ...) finding start and ends of each tag and populating related VFP tables / arrays?
>
Any XML file can be loaded into MSXML as a DOM:
oXmlDom = CREATEOBJECT("Msxml2.DOMDocument")
oXmlDom.load("file.xml")
Although this could be used to read the XML into VFP you'd still end up writing your own VFP 'engine' for the second part of the job (generating the HTML output). I'm suggesting using the inbuild MSXML XSL transformation rather than VFP to generate the HTML. With the right XSL file you'd just need to add:
oXslDom = CREATEOBJECT("Msxml2.DOMDocument")
oXslDom.load("file.xsl")
HtmlText = oXmlDoc.transformNode(oXslDoc);
The awkard bit it composing the XSL file to suit.
HTH,
Viv