Opps sorry didn¹t finish my thought there.  Then within the config.xml file
you have the element
  <models>
    <OwsContext id="mainMap">
      <defaultModelUrl>context.xml</defaultModelUrl>

-Linda

On 7/5/07 8:04 PM, "Grégory Babusiaux" <[EMAIL PROTECTED]> wrote:

> Thanks, but I think that's not it ...
> 
> In the config.xml file, which is accessed through the main html (ok), you
> DON'T have the context source file. All you have is the path to the xsl file,
> but not to the source file. 
> 
> you have this:  (config.xml extract)
> 
> <Legend id="contextLegend">
>           <htmlTagId>legend</htmlTagId>
>           <stylesheet>./Legend2.xsl</stylesheet>
> </Legend>
> 
> how does map builder know that the source file to be rendered in html is in
> fact context.xml??? (containing the OWS context with the layers)
> 
> Is this clear? :S Sorry if not :S
> 
> greg
> 
>  
> Le 06-juil.-07 à 01:41, Linda Derezinski a écrit :
> 
>>  Because of this information located in the <head> element of the .html file
>>                  <script>
>>      // URL of Mapbuilder configuration file.
>>      var mbConfigUrl='config.xml';
>>    </script>
>>  
>>  -Linda
>>  
>>  On 7/5/07 6:56 PM, "Grégory Babusiaux" <[EMAIL PROTECTED]> wrote:
>>  
>>  
>>> Hi everybody,
>>>  
>>>  There's one little thing I can't understand yet.
>>>  
>>>  in the config.xml file, let's say you have a legend widget. You can find
>>> the ID, the stylesheet and the htmlIdTag. 
>>>  
>>>  With this you know that the result of the xsl processing will go between
>>> the div tag corresponding to the ID. 
>>>  
>>>  
>>>  My question is: how does mapbuilder know that the xml source file is in
>>> this case the context.xml file?
>>>  
>>>  
>>>  
>>>  Greg
>>>  
>>>   
>>>  
>>>  
>>>  
>>>  
>>>   
>>>  
>>>  
>>> 
>>> -------------------------------------------------------------------------
>>>  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
>>>  
>> 
>>     
> 
>  
> Grégory Babusiaux
> 
> Tel: 02/675.14.68
> Gsm: 0472/644.597    
> Mail: [EMAIL PROTECTED]
> MSN: [EMAIL PROTECTED]
> WEB: www.gregorybabusiaux.be
> 
> 
> 
> 
> 
>  
> 
> 


-------------------------------------------------------------------------
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