XML Thread last updated on 2003-04-26 18:12:46

Posted by member 18600 on 2003-04-25 01:47:25

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.

Posted by member 18600 on 2003-04-25 01:52:14 link

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?

Posted by member 1 on 2003-04-25 09:39:55 link

LS does not support XML in any way.

Posted by member 503 on 2003-04-25 09:45:03 link

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.

Posted by member 99 on 2003-04-25 11:55:17 link

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.

Posted by member 18600 on 2003-04-26 18:12:46 link

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.