[OpenLayers-Users] Problem on xlink:href

Alextave andrea.alri90 at gmail.com
Thu Nov 14 07:49:58 PST 2013


Hi everybody, I have a problem about xlink:href. I have this feature
collection :
<?xml version='1.0' encoding='UTF-8'?>
<wfs:FeatureCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://www.mygeoportal.com/services/WFSbabninDB?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&OUTPUTFORMAT=text%2Fxml%3B+subtype%3Dgml%2F2.1.2&TYPENAME=wfs:FeatureCollection&NAMESPACE=xmlns(wfs=http%3A%2F%2Fwww.opengis.net%2Fwfs)
http://www.deegree.org/MyApp
http://www.mygeoportal.com/services/WFSbabninDB?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&OUTPUTFORMAT=text%2Fxml%3B+subtype%3Dgml%2F2.1.2&TYPENAME=app:Mura&NAMESPACE=xmlns(app=http%3A%2F%2Fwww.deegree.org%2FMyApp)"
xmlns:wfs="http://www.opengis.net/wfs" timeStamp="2013-11-14T15:02:22Z"
xmlns:gml="http://www.opengis.net/gml">
  <gml:boundedBy>
    <gml:null>unknown</gml:null>
  </gml:boundedBy>
  <gml:featureMember>
    <app:Mura xmlns:app="http://www.deegree.org/MyApp" fid="APP_MURA_Mura di
Babilonia">
      <app:Descrizione>Mura cittadine di Babilonia lunghe circa 20km. La
cinta muraria era formata da mattoni ed era alta 10 metri.</app:Descrizione>
      <app:Nome_C>Babilonia</app:Nome_C>
      <app:Wall>
        <gml:LineString gid="APP_MURA_Mura di Babilonia_APP_WALL"
srsName="EPSG:4326">
          <gml:coordinates decimal="." cs="," ts=" ">44.419565,32.542639
44.422832,32.543605 44.426919,32.546440 44.431930,32.548775
44.434277,32.542065 44.437380,32.533382</gml:coordinates>
        </gml:LineString>
      </app:Wall>
      <app:Ingresso xmlns:xlink="http://www.w3.org/1999/xlink"
<b>xlink:href="http://www.mygeoportal.com/services/WFSbabninDB?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetGmlObject&OUTPUTFORMAT=text%2Fxml%3B+subtype%3Dgml%2F2.1.2&TRAVERSEXLINKDEPTH=0&GMLOBJECTID=feature_Porta
di Marduk#feature_Porta di Marduk"*/>
      <app:Ingresso xmlns:xlink="http://www.w3.org/1999/xlink"
<b>xlink:href="http://www.mygeoportal.com/services/WFSbabninDB?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetGmlObject&OUTPUTFORMAT=text%2Fxml%3B+subtype%3Dgml%2F2.1.2&TRAVERSEXLINKDEPTH=0&GMLOBJECTID=feature_Porta
di Ishtar#feature_Porta di Ishtar"*/>
    </app:Mura>
  </gml:featureMember>
</wfs:FeatureCollection>

The attributes app:Descrizione and app:Nome_C are loaded in the layers
without problem, but I can retrieve the attributes of app:Ingresso. It
doesn't have a specific value, only attributes and I need the value of
xlink:href.

How can I retrieve it?

Thank you very much or the help




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-on-xlink-href-tp5089168.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list