[mapserver-users] xslt transfofmr on getcapabilites of tinyows

Andrea Peri aperi2007 at gmail.com
Tue Jul 16 14:34:32 PDT 2013


Hi,

I test it with a validate tool,
Effectively there was an error.

> Element <Keywords> is not allowed under element <FeatureType>.

So I remove the keywords definition from my tiny config.xml,

After this the xml was valid, but always the

<xsl:value-of select="//FeatureTypeList/FeatureType/Name" />

don't return the right value.





2013/7/16 Olivier Courtin <olivier.courtin at gmail.com>

> If you have a doubt on a XML provided by a WFS server,
> there's OGC XSD you could use to validate against.
> (look in tinyows/schema dir)
>
> O.
>
> On Tue, Jul 16, 2013 at 5:39 PM, Andrea Peri <aperi2007 at gmail.com> wrote:
> > Hi,
> >
> > I'm try.ing to trasform an xml from tinyows.
> >
> > But it seem don't work.
> >
> > Perhaps there a problem with the xml of tiny ?
> >
> > On this call:
> >
> >
> http://www502.regione.toscana.it/wfsvector/com.rt.wfs.RTmap/wfs?SERVICE=WFS&REQUEST=GetCapabilities&version=1.1.0
> >
> > I'm trying to apply this trasformation:
> >
> > <xsl:value-of select="//FeatureTypeList/FeatureType[1]/Name" />
> >
> > to retrieve the name of first FeatureType.
> >
> > But the xsltproc always return null.
> >
> > I'm not sure of my xpath, but it seem ok,
> >
> > Any help is welcome.
> >
> > --
> > -----------------
> > Andrea Peri
> > . . . . . . . . .
> > qwerty àèìòù
> > -----------------
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
>
>
>
> --
> Olivier
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130716/cb8e9e60/attachment.html>


More information about the mapserver-users mailing list