[
Lists Home |
Date Index |
Thread Index
]
Paul T wrote:
> However, it should be language and platform neutral.
> And I belive that { makes better separator than <%.
>
> ;-)
>
> OK, OK, really nice thing should allow both, because
> some people need to edit it in a GUI HTML editor,
> but some people are editing templates in vi / notepad
> And I think that there is no possible markup that
> would be good for *both* cases.
You might want to have a look at SGML - you can support both syntaxes by simply
defining two SGML declarations. The DTD remains the same for both markup
schemes but the instances are different. On top of that, you can assign context
sensitive behaviour to particular characters from within the DTD, allowing you
to process a csv file with a DTD.
This may not be as archaic as it sounds. If you are able to separate the data
capture/modification/markup from the downstream usage with a normalisation
process, then why not? We routinely still use SGML tools at the start of XML
projects - when the objective is simply an XML file, pragmatism beats
standardisation every time.
--
Regards,
Marcus Carr email: mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia) www: http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
- Einstein
|