[whatwg] Embedding custom hierarchical data

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