[jdom-interest] problem with getChildren (probabely my understanding)

Dolf Andringa dolf.andringa at elcyion.nl
Sun Nov 20 03:34:09 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Ok thanks a million. Sorry didn't look in the FAQ before I sent the
email. Completely overlooked the FAQ. Thanks for all the good work on
JDOM, I really like it.

Dolf.
Jason Hunter wrote:
> Your element is in a namespace (the unprefixed default namespace), and
> so you need to ask for it by including the namespace.
> 
> http://www.jdom.org/docs/faq.html#a0260
> 
> -jh-
> 
> Dolf Andringa wrote:
> 
> Hi All,
> 
> I've just started using jdom to write an application that creates a JDOM
> object from an XML file, manipulates it and then feeds it to Xalan to do
> XSLT processing. I'm running into a problem though. If I use the
> getChildren method on my root Element, it correctly returns a list ofthe
> root element's children. If I use getChildren with as the argument the
> name of an element that occures multiple times as the child of the root
> element, nothing is returned. A test is below(i'm using python as the
> programming language with the jython interpreter so I can use java
> classes from python, but it should be no different form using native
> java):
> 
> for member in doc.getRootElement().getChildren():
>     if (member.getName()=="featureMember"):
>         print member.getName()
> print "\n\nAnd next:\n\n"       
> for member in doc.getRootElement().getChildren("featureMember"):
>         print member.getName()
> 
> The first loop correctly displays several times "featureMember"
> but after the "And next: " nothing is displayed:
> 
> Parsing and transforming to JDOM succeeded.
> 
> 
> featureMember
> featureMember
> featureMember
> featureMember
> featureMember
> featureMember
> featureMember
> 
> 
> And next:
> 
> 
> Shouldn't it be possible to use getChildren with a name argument to
> return only the child elements with a specific name? Now I have to loop
> through all the child elements to create a list of the child elements I
> want. I'd rather get a list of those elements with just the getChildren
> functioncall. The XML file I'm using is in the attachment. I hope
> anybody can help me with this.
> Thanks,
> 
> Dolf.
>>
>>
- ------------------------------------------------------------------------
>>
<?xml version="1.0" encoding="utf-8"?>
<!-- Created using VRMLConverter (C) Galdos Systems Inc., by Milan
Trninic (Galdos Systems Inc.), 2002 -->
<ows:FeatureCollection xmlns="http://www.opengis.net/ows1.2"
xmlns:ows="http://www.opengis.net/ows1.2"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.opengis.net/ows1.2 schemas/gmlEval.xsd">
    <gml:boundedBy>
        <gml:Box>
            <gml:coordinates>148.0,149.0,157.6
172.0,167.5,163.0</gml:coordinates>
        </gml:Box>
    </gml:boundedBy>
    <gml:featureMember>
        <ows:Building gml:id="RailwayStation">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3030">
                    <gml:coordinates>151.7,156.0,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3032">
                    <gml:coordinates>157.7,154.0,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3031">
                    <gml:coordinates>151.7,156.0,160.0
151.7,156.0,160.0</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3033">
                    <gml:coordinates>157.7,154.0,160.0
157.7,154.0,160.0</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:extentOf>
                <gml:Polygon gml:id="urn-ogc-ows1.2-geometry-2916">
                    <gml:exterior>
                        <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2917">
                            <gml:coordinates>151.7,156.0,160.0
157.7,156.0,160.0 158.4,156.7,160.0 158.4,157.5,160.0
159.101,158.1,160.0 159.101,158.7,160.0 158.7,159.0,160.0
150.7,159.0,160.0 150.3,158.7,160.0 150.3,158.1,160.0
151.0,157.5,160.0 151.0,156.7,160.0 151.7,156.0,160.0</gml:coordinates>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </gml:extentOf>
            <gml:extentOf>
                <gml:Polygon gml:id="urn-ogc-ows1.2-geometry-2931">
                    <gml:exterior>
                        <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2932">
                            <gml:coordinates>157.7,154.0,160.0
151.7,154.0,160.0 151.0,153.3,160.0 151.0,152.5,160.0
150.3,151.9,160.0 150.3,151.3,160.0 150.7,151.0,160.0
158.7,151.0,160.0 159.1,151.3,160.0 159.1,151.9,160.0
158.4,152.5,160.0 158.4,153.3,160.0 157.7,154.0,160.0</gml:coordinates>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </gml:extentOf>
            <gml:multiExtentOf>
                <gml:MultiSurface gml:id="urn-ogc-ows1.2-geometry-2918">
                    <gml:surfaceMembers>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2919">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2920">

<gml:coordinates>150.725,159.0,160.0 150.3,158.7,160.0
150.3,158.7,160.225 150.3,158.7,160.45 150.3,158.7,160.675
150.3,158.7,160.9 150.725,159.0,160.9 158.7,159.0,160.9
158.7,159.0,160.675 158.7,159.0,160.45 158.7,159.0,160.225
158.7,159.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2921">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2922">
                                    <gml:coordinates>159.1,158.7,160.9
159.1,158.1,160.9 158.4,157.5,160.9 158.4,156.7,160.9
158.4,156.7,160.675 158.4,156.7,160.45 158.4,156.7,160.225
158.4,156.7,160.0 158.4,157.5,160.0 159.1,158.1,160.0
159.1,158.7,160.0 158.7,159.0,160.0 158.7,159.0,160.225
158.7,159.0,160.45 158.7,159.0,160.675
158.7,159.0,160.9</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2923">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2924">

<gml:coordinates>157.675,156.0,160.0 158.4,156.7,160.0
158.4,156.7,160.225 158.4,156.7,160.45 158.4,156.7,160.675
158.4,156.7,160.9 157.675,156.0,160.9 151.7,156.0,160.9
151.7,156.0,160.675 151.7,156.0,160.45 151.7,156.0,160.225
151.7,156.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2925">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2926">
                                    <gml:coordinates>150.3,158.1,160.0
151.0,157.5,160.0 151.0,156.7,160.0 151.7,156.0,160.0
151.7,156.0,160.225 151.7,156.0,160.45 151.7,156.0,160.675
151.7,156.0,160.9 151.0,156.7,160.9 151.0,157.5,160.9
150.3,158.1,160.9 150.3,158.7,160.9 150.3,158.7,160.675
150.3,158.7,160.45 150.3,158.7,160.225
150.3,158.7,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2927">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2928">

<gml:coordinates>150.725,159.0,160.9 150.3,158.7,160.9
150.3,158.1,160.9 151.0,157.5,160.9 151.0,156.7,160.9
151.7,156.0,160.9 157.675,156.0,160.9 158.4,156.7,160.9
158.4,157.5,160.9 159.1,158.1,160.9 159.1,158.7,160.9
158.7,159.0,160.9</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2929">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2930">

<gml:coordinates>157.675,156.0,160.0 151.7,156.0,160.0
151.0,156.7,160.0 151.0,157.5,160.0 150.3,158.1,160.0
150.3,158.7,160.0 150.725,159.0,160.0 158.7,159.0,160.0
159.1,158.7,160.0 159.1,158.1,160.0 158.4,157.5,160.0
158.4,156.7,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </gml:surfaceMembers>
                </gml:MultiSurface>
            </gml:multiExtentOf>
            <gml:multiExtentOf>
                <gml:MultiSurface gml:id="urn-ogc-ows1.2-geometry-2933">
                    <gml:surfaceMembers>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2934">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2935">

<gml:coordinates>158.675,151.0,160.0 159.1,151.3,160.0
159.1,151.3,160.225 159.1,151.3,160.45 159.1,151.3,160.675
159.1,151.3,160.9 158.675,151.0,160.9 150.7,151.0,160.9
150.7,151.0,160.675 150.7,151.0,160.45 150.7,151.0,160.225
150.7,151.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2936">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2937">
                                    <gml:coordinates>150.3,151.3,160.9
150.3,151.9,160.9 151.0,152.5,160.9 151.0,153.3,160.9
151.0,153.3,160.675 151.0,153.3,160.45 151.0,153.3,160.225
151.0,153.3,160.0 151.0,152.5,160.0 150.3,151.9,160.0
150.3,151.3,160.0 150.7,151.0,160.0 150.7,151.0,160.225
150.7,151.0,160.45 150.7,151.0,160.675
150.7,151.0,160.9</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2938">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2939">

<gml:coordinates>151.725,154.0,160.0 151.0,153.3,160.0
151.0,153.3,160.225 151.0,153.3,160.45 151.0,153.3,160.675
151.0,153.3,160.9 151.725,154.0,160.9 157.7,154.0,160.9
157.7,154.0,160.675 157.7,154.0,160.45 157.7,154.0,160.225
157.7,154.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2940">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2941">
                                    <gml:coordinates>159.1,151.9,160.0
158.4,152.5,160.0 158.4,153.3,160.0 157.7,154.0,160.0
157.7,154.0,160.225 157.7,154.0,160.45 157.7,154.0,160.675
157.7,154.0,160.9 158.4,153.3,160.9 158.4,152.5,160.9
159.1,151.9,160.9 159.1,151.3,160.9 159.1,151.3,160.675
159.1,151.3,160.45 159.1,151.3,160.225
159.1,151.3,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2942">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2943">

<gml:coordinates>158.675,151.0,160.9 159.1,151.3,160.9
159.1,151.9,160.9 158.4,152.5,160.9 158.4,153.3,160.9
157.7,154.0,160.9 151.725,154.0,160.9 151.0,153.3,160.9
151.0,152.5,160.9 150.3,151.9,160.9 150.3,151.3,160.9
150.7,151.0,160.9</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2944">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2945">

<gml:coordinates>151.725,154.0,160.0 157.7,154.0,160.0
158.4,153.3,160.0 158.4,152.5,160.0 159.1,151.9,160.0
159.1,151.3,160.0 158.675,151.0,160.0 150.7,151.0,160.0
150.3,151.3,160.0 150.3,151.9,160.0 151.0,152.5,160.0
151.0,153.3,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </gml:surfaceMembers>
                </gml:MultiSurface>
            </gml:multiExtentOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1167">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3030"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1168">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3032"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1179">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1167"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1167"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3031"/>
                </gml:Edge>
            </gml:directedEdge>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1182">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1168"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1168"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3033"/>
                </gml:Edge>
            </gml:directedEdge>
            <gml:directedFace orientation="+">
                <gml:Face gml:id="urn-ogc-ows1.2-topology-1197">
                    <gml:directedEdge orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1179"/>
                    <gml:surfaceProperty
xlink:href="urn-ogc-ows1.2-geometry-2916"/>
                </gml:Face>
            </gml:directedFace>
            <gml:directedFace orientation="+">
                <gml:Face gml:id="urn-ogc-ows1.2-topology-1199">
                    <gml:directedEdge orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1182"/>
                    <gml:surfaceProperty
xlink:href="urn-ogc-ows1.2-geometry-2931"/>
                </gml:Face>
            </gml:directedFace>
        </ows:Building>
    </gml:featureMember>
    <gml:featureMember>
        <ows:MetroStation gml:id="Commercial">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-2959">

<gml:coordinates>165.6,164.999,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:multiExtentOf>
                <gml:MultiSurface gml:id="urn-ogc-ows1.2-geometry-2946">
                    <gml:surfaceMembers>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2947">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2948">
                                    <gml:coordinates>164.0,164.5,160.0
164.0,164.5,160.4 167.0,164.5,160.4 167.0,164.5,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2949">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2950">
                                    <gml:coordinates>167.0,165.5,160.4
167.0,165.5,160.0 167.0,164.5,160.0 167.0,164.5,160.4</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2951">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2952">
                                    <gml:coordinates>167.0,165.5,160.0
167.0,165.5,160.4 164.0,165.5,160.4 164.0,165.5,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2953">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2954">
                                    <gml:coordinates>164.0,165.5,160.0
164.0,165.5,160.4 164.0,164.5,160.4 164.0,164.5,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2955">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2956">
                                    <gml:coordinates>164.0,164.5,160.4
164.0,165.5,160.4 167.0,165.5,160.4 167.0,164.5,160.4</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2957">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2958">
                                    <gml:coordinates>164.0,165.5,160.0
164.0,164.5,160.0 167.0,164.5,160.0 167.0,165.5,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </gml:surfaceMembers>
                </gml:MultiSurface>
            </gml:multiExtentOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1169">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-2959"/>
                </gml:Node>
            </gml:directedNode>
        </ows:MetroStation>
    </gml:featureMember>
    <gml:featureMember>
        <ows:MetroStation gml:id="Metrotown">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-2960">
                    <gml:coordinates>165.0,152.0,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:multiExtentOf>
                <gml:MultiSurface gml:id="urn-ogc-ows1.2-geometry-2961">
                    <gml:surfaceMembers>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2962">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2963">
                                    <gml:coordinates>164.0,151.0,160.0
164.0,151.0,161.0 166.0,151.0,161.0 166.0,151.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2964">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2965">
                                    <gml:coordinates>166.0,153.0,161.0
166.0,153.0,160.0 166.0,151.0,160.0 166.0,151.0,161.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2966">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2967">
                                    <gml:coordinates>166.0,153.0,160.0
166.0,153.0,161.0 164.0,153.0,161.0 164.0,153.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2968">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2969">
                                    <gml:coordinates>164.0,153.0,160.0
164.0,153.0,161.0 164.0,151.0,161.0 164.0,151.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2970">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2971">
                                    <gml:coordinates>164.0,151.0,161.0
164.0,153.0,161.0 166.0,153.0,161.0 166.0,151.0,161.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2972">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2973">
                                    <gml:coordinates>164.0,153.0,160.0
164.0,151.0,160.0 166.0,151.0,160.0 166.0,153.0,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </gml:surfaceMembers>
                </gml:MultiSurface>
            </gml:multiExtentOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1170">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-2960"/>
                </gml:Node>
            </gml:directedNode>
        </ows:MetroStation>
    </gml:featureMember>
    <gml:featureMember>
        <ows:Building gml:id="NewsStand">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3009">
                    <gml:coordinates>161.3,156.7,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3034">
                    <gml:coordinates>161.45,157.0,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3035">
                    <gml:coordinates>161.45,157.0,160.0
161.45,157.0,160.0</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:extentOf>
                <gml:Polygon gml:id="urn-ogc-ows1.2-geometry-3010">
                    <gml:exterior>
                        <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3011">
                            <gml:coordinates>161.45,157.0,160.0
161.15,157.0,160.0 161.0,156.85,160.0 161.0,156.55,160.0
161.15,156.4,160.0 161.45,156.4,160.0 161.6,156.55,160.0
161.6,156.85,160.0 161.45,157.0,160.0</gml:coordinates>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </gml:extentOf>
            <gml:multiExtentOf>
                <gml:MultiSurface gml:id="urn-ogc-ows1.2-geometry-2974">
                    <gml:surfaceMembers>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2975">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2976">

<gml:coordinates>161.45,156.4,160.0 161.15,156.4,160.0
161.15,156.4,160.525 161.45,156.4,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2977">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2978">

<gml:coordinates>161.6,156.55,160.525 161.6,156.85,160.525
161.6,156.85,160.0 161.6,156.55,160.0</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2979">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2980">

<gml:coordinates>161.15,157.0,160.0 161.45,157.0,160.0
161.45,157.0,160.525 161.15,157.0,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2981">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2982">

<gml:coordinates>161.0,156.55,160.0 161.0,156.85,160.0
161.0,156.85,160.525 161.0,156.55,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2983">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2984">

<gml:coordinates>161.45,156.4,160.525 161.15,156.4,160.525
161.0,156.55,160.525 161.0,156.85,160.525 161.15,157.0,160.525
161.45,157.0,160.525 161.6,156.85,160.525
161.6,156.55,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2985">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2986">

<gml:coordinates>161.15,156.4,160.525 161.45,156.4,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2987">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2988">

<gml:coordinates>161.45,156.4,160.525 161.6,156.55,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2989">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2990">

<gml:coordinates>161.6,156.55,160.525 161.6,156.85,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2991">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2992">

<gml:coordinates>161.6,156.85,160.525 161.45,157.0,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2993">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2994">

<gml:coordinates>161.45,157.0,160.525 161.15,157.0,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2995">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2996">

<gml:coordinates>161.15,157.0,160.525 161.0,156.85,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2997">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-2998">

<gml:coordinates>161.0,156.85,160.525 161.0,156.55,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-2999">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3000">

<gml:coordinates>161.0,156.55,160.525 161.15,156.4,160.525
161.3,156.7,160.7</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-3001">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3002">

<gml:coordinates>161.6,156.55,160.0 161.45,156.4,160.0
161.45,156.4,160.525 161.6,156.55,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-3003">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3004">

<gml:coordinates>161.0,156.55,160.0 161.15,156.4,160.0
161.15,156.4,160.525 161.0,156.55,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-3005">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3006">

<gml:coordinates>161.0,156.85,160.0 161.15,157.0,160.0
161.15,157.0,160.525 161.0,156.85,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                        <gml:Polygon
gml:id="urn-ogc-ows1.2-geometry-3007">
                            <gml:exterior>
                                <gml:LinearRing
gml:id="urn-ogc-ows1.2-geometry-3008">

<gml:coordinates>161.45,157.0,160.0 161.6,156.85,160.0
161.6,156.85,160.525 161.45,157.0,160.525</gml:coordinates>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </gml:surfaceMembers>
                </gml:MultiSurface>
            </gml:multiExtentOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1171">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3009"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1172">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3034"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1185">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1172"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1172"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3035"/>
                </gml:Edge>
            </gml:directedEdge>
            <gml:directedFace orientation="+">
                <gml:Face gml:id="urn-ogc-ows1.2-topology-1201">
                    <gml:isolated
xlink:href="urn-ogc-ows1.2-topology-1171"/>
                    <gml:directedEdge orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1185"/>
                    <gml:surfaceProperty
xlink:href="urn-ogc-ows1.2-geometry-3010"/>
                </gml:Face>
            </gml:directedFace>
        </ows:Building>
    </gml:featureMember>
    <gml:featureMember>
        <ows:MetroLine gml:id="SkyTrain">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3017">
                    <gml:coordinates>165.6,165.0,160.2</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3018">
                    <gml:coordinates>165.0,151.0,160.2</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3019">
                    <gml:coordinates>165.6,165.0,160.2
152.0,165.0,160.2 151.7,164.9,160.2 151.5,164.8,160.2
151.2,164.5,160.2 151.1,164.3,160.2 151.0,164.0,160.2
151.0,159.0,159.6 151.1,158.7,159.6 151.2,158.5,159.6
151.5,158.2,159.6 151.7,158.1,159.6 152.0,158.0,159.6
164.0,158.0,159.6 164.3,157.9,159.6 164.9,157.3,159.6
165.0,157.0,159.6 165.0,155.0,159.6 165.0,152.0,160.15
165.0,151.0,160.2</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1173">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3017"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1174">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3018"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1188">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1173"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1174"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3019"/>
                </gml:Edge>
            </gml:directedEdge>
        </ows:MetroLine>
    </gml:featureMember>
    <gml:featureMember>
        <ows:Railroad gml:id="Rail2">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3022">
                    <gml:coordinates>150.0,155.5,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3023">
                    <gml:coordinates>170.0,155.5,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3024">
                    <gml:coordinates>150.0,155.5,160.0
170.0,155.5,160.0</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1175">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3022"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1176">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3023"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1191">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1175"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1176"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3024"/>
                </gml:Edge>
            </gml:directedEdge>
        </ows:Railroad>
    </gml:featureMember>
    <gml:featureMember>
        <ows:Railroad gml:id="Rail1">
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3027">
                    <gml:coordinates>150.0,154.5,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:position>
                <gml:Point gml:id="urn-ogc-ows1.2-geometry-3028">
                    <gml:coordinates>170.0,154.5,160.0</gml:coordinates>
                </gml:Point>
            </gml:position>
            <gml:centerLineOf>
                <gml:LineString gml:id="urn-ogc-ows1.2-geometry-3029">
                    <gml:coordinates>150.0,154.5,160.0
170.0,154.5,160.0</gml:coordinates>
                </gml:LineString>
            </gml:centerLineOf>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1177">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3027"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedNode orientation="+">
                <gml:Node gml:id="urn-ogc-ows1.2-topology-1178">
                    <gml:pointProperty
xlink:href="urn-ogc-ows1.2-geometry-3028"/>
                </gml:Node>
            </gml:directedNode>
            <gml:directedEdge orientation="+">
                <gml:Edge gml:id="urn-ogc-ows1.2-topology-1194">
                    <gml:directedNode orientation="+"
xlink:href="urn-ogc-ows1.2-topology-1177"/>
                    <gml:directedNode orientation="-"
xlink:href="urn-ogc-ows1.2-topology-1178"/>
                    <gml:curveProperty
xlink:href="urn-ogc-ows1.2-geometry-3029"/>
                </gml:Edge>
            </gml:directedEdge>
        </ows:Railroad>
    </gml:featureMember>
</ows:FeatureCollection>
>>
>>
- ------------------------------------------------------------------------
>>
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDgF8wKaTTNeXBMakRAvCpAJ949Sdoe9nGIlA049Q8vQBxxBxCPgCeOufX
1t7IRAtKkupgwwn8RGxFoVY=
=hVqU
-----END PGP SIGNATURE-----


More information about the jdom-interest mailing list