Hi,

I'm try to parsing with an xslt transform the WMS GetCapability
response of qgis-server.

I try this simple xsl parse:

<xsl:value-of select="/WMS_Capabilities/Service/Name"
xmlns="http://www.opengis.net/wms";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wms
http://qgis.org/wms_1_3_0.xsd"; />

to retrieve the "name" of service,

The xml I try to parse is this:

<?xml version="1.0" encoding="utf-8"?>
<WMS_Capabilities
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.3.0"
xmlns="http://www.opengis.net/wms";
xsi:schemaLocation="http://www.opengis.net/wms
http://qgis.org/wms_1_3_0.xsd";>
 <Service>
  <Name>WMS</Name>
....


I guess the xpath
/WMS_Capabilities/Service/Name
is correct,
but it don't work.

Any helo is welcome.

Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to