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 easiest way to implement it? Should I create an xsl
template and create the xml node using parameters from the javascript
code? My knowledge of xsl is a bit lacking, so is there another way? I
guess I can use Sarissa and pass it a string which it could convert to
an XML node?

Thanks,

-- 
Ehud Shabtai
http://www.freemap.co.il/map/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to