I was just wondering if .rc files had any sympathy for XML. Would that be proper given the principles guiding how Litestep is layed out? If syntax wouldn't allow it, can I reference an XML file from within an rc file? Would people get annoyed?
The reason I ask is that I have an idea for a module that might benefit from having something like XML describe its settings. Just a thought.
edit: (the edit link is broken)
I said:
If syntax wouldn't allow it, can I reference an XML file from within an rc file? Would people get annoyed?
What I meant to say was:
If syntax wouldn't allow it, can I instead reference an XML file from within an rc file? Would people get annoyed?
LS does not support XML in any way.
You could embed XML in the RC as a string:
ModuleSetting "<foo bar='baz'>qux</foo>"
The only problem there is that the step.rc is not UTF-8 or UTF-16, so text that wasn't in ASCII might not work. The second option is to specify the name of an external XML file.
I'd be annoyed if I had to configure stuff in XML, but that doesn't matter if it's the best tool for the job.
I highly recommend not using the embedded format that Maduin mentions, go for an external file.
Ok, thanks guys. I was thinking external file as it was. I wasnt sure if that goes against the ideas of how LiteStep is set up.