W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] Embedding custom hierarchical data

From: Hay <huskyr@gmail.com>
Date: Tue, 15 Mar 2011 22:45:33 +0100
Message-ID: <AANLkTikhLZhH99pKkAgPNm+C6OfQxsVCvBZoLKhtGkxg@mail.gmail.com>
Thanks for the suggestion Bjartur, but unfortunately that's not an
option in the usecase. Data is parsed using Freemarker (a template
language) and can't be included using a <script src=""> tag.

-- Hay

On Tue, Mar 15, 2011 at 10:15 PM, Bjartur Thorlacius
<svartman95 at gmail.com> wrote:
> On 3/15/11, Hay (Husky) <huskyr at gmail.com> wrote:
>> Hi everyone,
>> what would be the 'preferred' way to embed custom hierarchical data in
>> a HTML document?
>>
> You should also consider passing the data along with the script and HTML,
> rather than embedding it in the markup. This may save you from headaches
> stemming from the data being parsed as HTML.
>
Received on Tuesday, 15 March 2011 14:45:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC