Using "include" in mark up files

I am trying to reuse parts of main menu mark up for the in-movie menu.

An early iHD documentation states that conditional includes like this
<include condition="SPRM(12)='en'" href="english.xml" /> should be possible.

The schemas allow includes without condition too. But a line like this
<include href="menubody.xml" /> within the body doesn't show any effect.

Any ideas? Are the linked files supposed to have special formatting?

Cheers,
Gunnar

[729 byte] By [GunnarAdler] at [2008-2-13]
# 1

No, that is correct.

Note that the included file must be referenced as a playlist resource and in the manifest. Also, the linked file must include the namespace declarations in its root element, eg:

<?xml version="1.0"?>
<div xml:lang="en" xmlns="
http://www.dvdforum.org/2005/ihd"
xmlns:style="http://www.dvdforum.org/2005/ihd#style"
xmlns:state="
http://www.dvdforum.org/2005/ihd#state"
style:position="absolute" style:x="0px" style:y="0px"
style:width="1920px" style:height="1080px" style:backgroundColor="black">


<button style:position="absolute" style:x="100px" style:y="500px"
style:width="100px" style:height="100px" style:backgroundColor="blue" />
</div>

PeterTorr-MSFT at 2007-8-30 > top of Msdn Tech,Audio and Video Development,HD DVD Interactivity Authoring...