Re: [Mapbuilder-devel] Adding a new layer to a context

2007-06-09 Thread Ehud Shabtai
Just wanted to note that adding the wmc xmlns to each of the keys in the string below fixes the problem. Ehud. On 6/8/07, Ehud Shabtai <[EMAIL PROTECTED]> wrote: > Hi Mike, > > On 6/8/07, Adair, Mike <[EMAIL PROTECTED]> wrote: > > Where is your new layer information coming from? Right now we tak

Re: [Mapbuilder-devel] Adding a new layer to a context

2007-06-08 Thread Ehud Shabtai
Hi Mike, On 6/8/07, Adair, Mike <[EMAIL PROTECTED]> wrote: > Where is your new layer information coming from? Right now we take > layer info from a capabilities doc or a catalogue response and run an > XSL on that to generate the chunk of XML to be added to the context doc. > I think XSL is the b

Re: [Mapbuilder-devel] Adding a new layer to a context

2007-06-08 Thread Adair, Mike
ct: [Mapbuilder-devel] Adding a new layer to a context > > Hi, > > I need to dynamically add a layer to a context. I noticed > that each context model supports the addLayer method but it > expects to get an XML node describing the layer. > The new layer I'm trying to add

[Mapbuilder-devel] Adding a new layer to a context

2007-06-08 Thread Ehud Shabtai
Hi, I need to dynamically add a layer to a context. I noticed that each context model supports the addLayer method but it expects to get an XML node describing the layer. The new layer I'm trying to add is generated by a simple javascript code, so I don't have an XML node. What would be the easie