Posted by Andy Dingley on 10/04/06 21:43
John Salerno wrote:
> Anyway, can someone tell me how to include XML data as text in an HTML
> file?
You don't. There have been techniques in the past (M$ XML data islands
and the <XML> tag) to do this and there will be XHTML techniques
(namespaces) to do it with in the future, but right at the moment it's
impractical and frowned upon. A better way is to use JavaScript,
borrow some standard AJAX code, and load the XML separately by using a
scripted object within the page to load the XML through a separate HTTP
transaction.
[Back to original message]
|