THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/06/2004 at 06:50, xxxxxxxx wrote:
Cinema 4D Version: 8.0
Language(s) : C.O.F.F.E.E ;
How can one parse a text file in COFFEE ? I've read the reference, but the only functions I get can only read one character at a time. Isn't there a 'readLine' function or something ?
Has anyone ever thought of coding an XML parser for C4D ?
On 04/06/2004 at 09:41, xxxxxxxx wrote:
1. no there isn´t afaik. you have to write one yourself
2. There are 2-3 XML parsers available. Don´t have the urls though
On 08/06/2004 at 04:42, xxxxxxxx wrote:
As Samir said, there's no ReadLine() function. If implementing an XML parser as a file loader plugin, please be aware of the current limitation/bug in C4D that means that all files that have a valid XML header are loaded by C4D itself, no matter if they are C4D XML files or not.