Re: Scripting and XML

Rick Jelliffe (ricko@allette.com.au)
Sun, 19 Oct 1997 17:29:04 +1000



> From: Rasmus Lerdorf <rasmus@lerdorf.on.ca>

> My solution, naiive as it might be, is to make hide my language inside a
> PI tag.
...
> This is obviously a hack.

No, it is neither.

XML has explicit delimiters to clearly mark up processing instructions.
You are using them for what they are intended.

A different take on the issue is this. The SGML/XML model is
elements/entities(e.g. resources)/processing instructions.
XML piggybacks everything on top of element structure.

This is distinct from, e.g., PDF which piggybacks element
structure (such as it has) on top of processing.

-ricko