I recommend that you use XML to do the templating, and XSLT to apply the
styles to your templated files. This is closer to an industry-adopted
standard instead of some sort of hand-coded solution. Why reinvent the
wheel?
-dov
_____
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 9:15 AM
To: CF-Talk
Subject: template reader/parser sort of thing :)
Hello
I'm working on a project that i would like to make skinnable... i'm not
just talking css skinnable i mean like proper skinnable.
I was wanting to use a file as a template that contained some variation
of comments eg <[EMAIL PROTECTED] links ---@> or something to that effect, which are
then replaced by finding the appropriate entry in a structure of items
to be replaced...
Has anyone done this before? What happens when you have an arrangement
like this...
<!---@ begin links @--->
<!---@ main links @--->
<!---@ end main links @--->
<!---@ end links @--->
ie nested bits needing replaced.
Any wise thoughts? Things to watch out for?
Thanks,
Ryan
_____
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- template reader/parser sort of thing :) Ryan Mitchell
- Re: template reader/parser sort of thing :) Steve Nelson
- Re: template reader/parser sort of thing :) Bryan F. Hogan
- RE: template reader/parser sort of thing :) Nathan Strutz
- RE: template reader/parser sort of thing :) Barney Boisvert
- RE: template reader/parser sort of thing :) Katz, Dov B (IT)
- RE: template reader/parser sort of thing :) Brendan Avery
- Re: template reader/parser sort of thing :) Ryan Mitchell
- RE: template reader/parser sort of thing... Brendan Avery
- RE: template reader/parser sort of thing :) Matthew Walker