XML and MOF

Trygve Reenskaug trygver at ifi.uio.no
Wed May 12 07:42:21 UTC 2004


Many thanks, Michael.

I was just exploring the examples given in the classes when I got your msg.
      XMLDOMParser addressBookXMLWithDTD
stops in the debugger with a parse error.

      exampleAddressBookWithDTD
seems to scan through the input characters one by one

I'll ignore the examples and try your suggestions on the various MOF files.

Gratefully
--Trygve


At 12.05.2004 08:28, you wrote:
>Trygve Reenskaug wrote:
>>Michael,
>>Many thanks for the pointer, I could never have found it on my own. I'm 
>>not expert on XML, DTD, SAX, DOM, XSD, XMI...  so it will take me some 
>>time to penetrate the 24 uncommented Yaxo classes. But I'll get there,
>
>outch ;-) Point taken...
>
>The easiest way to deal with parsing XML is to parse into a DOM structure 
>and then just walk through it recursively.
>See
>XMLDOMParser addressBookXMLWithDTD
>for an example.
>You can also read the XML directly from a file by using
>
>XMLDOMParser>>parseDocumentFromFileNamed: fileName
>
>
>Cheers
>
>Michael
>
>


-- 

Trygve Reenskaug      mailto: trygver at ifi.uio.no
Morgedalsvn. 5A       http://heim.ifi.uio.no/~trygver
N-0378 Oslo           Tel: (+47) 22 49 57 27
Norway





More information about the Squeak-dev mailing list