Skip to main content
Hello,

 

 

I'm translating MS SQLServer Spatial to GML file by mapping SQLServer views I created for translation. But I have one problem. I need to have something like this (just an axample, not real code):

 

FeatureMemberCollection

 

  FeatureMember

 

    Town

 

    School

 

    Class

 

    ...

 

  /FeatureMember

 

/FeatureMemberCollection

 

 

But I have

 

FeatureMemberCollection

 

  FeatureMember

 

    Town

 

  /FeatureMember

 

  FeatureMember

 

    School

 

  /FeatureMember

 

  FeatureMember

 

    Class

 

  /FeatureMember

 

  FeatureMember

 

    ...

 

  /FeatureMember

 

/FeatureMemberCollection

 

 

Because of this my xslt creation goes wron way. What can I do, or where I'm wrong?
looks like a mapping issue, parent child is not set correctly to yield your structure.

Reply