Hi gents (Just lost whole post! Im such an idiot this one might not be as detailed...)
Basically I am writing a
vb.net app that will build my code classes from the database structure.
I am trying to find the best way to keep a class template. ie. the base the class will be built from.
So at the moment. They are txt files with tags in them. That I would replace with code. eg. "<attcommdell/>" might be replaced with "attr_01, attr_02, attr_03"
My Questions.
1) What is the best format to store the templates. ie. txt files or maybe using something like XSLT? (Which I have tried and found irritating limitations?)
2) What would be the best way to store a set of tags that can be used and a function to call to replace them with. ie. something like an enum (I know it wont work but something similar. structured...)
3) What would be the best way to pick up these tags in the files to do something with them. ie. Would the replace function be good enough or is there a better way?
Thanks for the input. I just want to do this in the best way possible.
ciao
:D