<div dir="ltr"><div><div>Hi,<br><br></div><div>I test it with a validate tool, <br>Effectively there was an error.<br><br>> Element <Keywords> is not allowed under element <FeatureType>.<br><br>So I remove the keywords definition from my tiny config.xml,<br>
<br>After this the xml was valid, but always the <br><br><xsl:value-of select="//FeatureTypeList/FeatureType/Name" /><br><div><br></div><div>don't return the right value. <br><br></div><br></div></div>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/16 Olivier Courtin <span dir="ltr"><<a href="mailto:olivier.courtin@gmail.com" target="_blank">olivier.courtin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you have a doubt on a XML provided by a WFS server,<br>
there's OGC XSD you could use to validate against.<br>
(look in tinyows/schema dir)<br>
<br>
O.<br>
<div><div class="h5"><br>
On Tue, Jul 16, 2013 at 5:39 PM, Andrea Peri <<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm try.ing to trasform an xml from tinyows.<br>
><br>
> But it seem don't work.<br>
><br>
> Perhaps there a problem with the xml of tiny ?<br>
><br>
> On this call:<br>
><br>
> <a href="http://www502.regione.toscana.it/wfsvector/com.rt.wfs.RTmap/wfs?SERVICE=WFS&REQUEST=GetCapabilities&version=1.1.0" target="_blank">http://www502.regione.toscana.it/wfsvector/com.rt.wfs.RTmap/wfs?SERVICE=WFS&REQUEST=GetCapabilities&version=1.1.0</a><br>

><br>
> I'm trying to apply this trasformation:<br>
><br>
> <xsl:value-of select="//FeatureTypeList/FeatureType[1]/Name" /><br>
><br>
> to retrieve the name of first FeatureType.<br>
><br>
> But the xsltproc always return null.<br>
><br>
> I'm not sure of my xpath, but it seem ok,<br>
><br>
> Any help is welcome.<br>
><br>
> --<br>
> -----------------<br>
> Andrea Peri<br>
> . . . . . . . . .<br>
> qwerty אטלעש<br>
> -----------------<br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Olivier<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br>
</div>