Probably the best thing would be to define a "param" attribute for the <bxml:include.../> tag that could be used to define symbols in the included file, if I'm understanding the use case.

I know Ant does this in its XML processing so it should be possible. I'm not in front of my computer right now, but it *might* already be there. I will check it out later today and reply further.

~Roger Whitcomb

Sent from my iPhone

On Oct 30, 2011, at 10:56 AM, Edvin Syse <[email protected]> wrote:

Is there a way to use BXML files as templates? I'd like to include two almost identical component sets in the main window, differing with component ids
and probably a single label text.

It would be fairly trivial to modify the XML before you give it to the BXMLSerializer, so this wouldn't require any special framework support as far as I can see.

-- Edvin

Reply via email to