<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi rldhont</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for the reply. yes I am aware of the XML format. And thanks for the example also.&nbsp;But what I want is how to make the <EM><STRONG>WMS GetCapabilities</STRONG></EM> request from Java Script using the OL APIs. It will be very helpfult if someone could help me with a few lines of code..</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">ganesh<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: rldhont &lt;rldhont@gmail.com&gt;<BR>To: dev@openlayers.org<BR>Sent: Monday, 26 November, 2007 7:18:10 PM<BR>Subject: Re: [OpenLayers-Dev] WMS GetCapabilities Requst<BR><BR>You can use XML Format. Look at the source code of this example :<BR><A href="http://openlayers.org/dev/examples/xml.html" target=_blank>http://openlayers.org/dev/examples/xml.html</A><BR><BR>--------------------<BR>René-Luc D'Hont<BR>3Liz SARL<BR>blog: <A href="http://3liz.org/blog/rldhont" target=_blank>http://3liz.org/blog/rldhont</A><BR><BR>Ganesh Jothikumar a écrit :<BR>&gt; Hi All<BR>&gt;&nbsp; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; I am using OpenLayers with GeoServer. I am using OpenLayers <BR>&gt; JavaScript APIs to render the WMS layers present in GeoServer. Of the <BR>&gt; layers I have one base layer and multiple overlays. Now I need to <BR>&gt; specify
 the bounding box values for the base map coverage layer in the <BR>&gt; OpenLayers.WMS function (maxExtent : bounds ) For thst I need to get <BR>&gt; the values from the GeoServer. After consulting the GeoServer guys I <BR>&gt; came to know that I have to do a WMS GetCapabilities request and parse <BR>&gt; the returned XML to get the BBox for my layer. What I want to know is <BR>&gt; how to make a WMS GetCapabilities request using OpenLayers and parse <BR>&gt; the returned XML. Any example would be highly useful. Or let me know <BR>&gt; if there is any other way of solving this...<BR>&gt;&nbsp; <BR>&gt; Thanks in advance<BR>&gt; ganesh<BR>&gt;&nbsp; <BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Why delete messages? Unlimited storage is just a click away. <BR>&gt; &lt;<A href="http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/"
 target=_blank>http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/</A>&gt; <BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Dev mailing list<BR>&gt; <A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A><BR>&gt; <A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR>&gt;&nbsp; <BR><BR>_______________________________________________<BR>Dev mailing list<BR><A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A><BR><A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>


      <!--2--><hr size=1></hr> Bring your gang together - do your thing. <a href="http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups"> Start your group.</a></body></html>