Page 1 of 1

XML woes

PostPosted: Wed Jul 11, 2007 10:53 am
by Kaworu
Hello all

I've got a bit of a problem! Every time I try to make a exclude.xml document, and put it in the scenery folder of the scenery I'm developing, it doesn't work. Nothing happens, the tress and stuff are still there!

Here's the text:


  version = "9.0"
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
         latitudeMinimum = "59.4502276161922"
       latitudeMaximum = "59.4538342067805"
       longitudeMinimum = "-146.306360621898"
       longitudeMaximum = "-146.305876924416"
      excludeAllObjects = "TRUE" />



Also, blgcomp isn't working either. I can't get it to put out anything! Help PLEASE!  ;D

Re: XML woes

PostPosted: Wed Jul 11, 2007 12:16 pm
by dave3cu
From the .xml code it appears your using ExcbuilderV2..?

Putting the .xml file in the scenery folder won't do anything. It needs the .bgl file.

"... blgcomp isn't working either...".
..Does your Bglcomp folder contain both the 'bglcomp.exe' and 'bglcomp.xsd' files?
..Are you pointing Excbuilder 'Settings' to the correct location for 'bglcomp.exe'?
..Are you looking in the right place for the .bgl, in the same folder as Excbuilder saved the .xml.

Dave

I see your working at PAMD. What are you trying to exclude?

Re: XML woes

PostPosted: Wed Jul 11, 2007 12:58 pm
by Kaworu
Sorry, everything is in place as needed, .xsd, and all. Thanks, but still the Excbuilder won't pop anything out.

I downloaded a new copy of bglcomp from M$, even then the sample xml files won't complile into bgl.

I am working with PAMD, as well as the rest of the island. I am building a town, fishing marina, other things like that, using RWY12. Should be very nice when finished.

:P

Re: XML woes

PostPosted: Wed Jul 11, 2007 4:18 pm
by Kaworu
This is ticking me off. Now FlatEx isn't working. It only says "Too East" or "Too West or "Too North" or "too south".

I've re-downloaded bglcomp, flatex, Excbuilder, nothing works. What the heck is going on. Everything worked before! [smiley=angry.gif]

Re: XML woes

PostPosted: Thu Jul 12, 2007 8:24 pm
by Kaworu
Anyone got anything to say? :'(

Re: XML woes

PostPosted: Fri Jul 13, 2007 7:22 am
by dave3cu
Sorry to here about your continuing troubles.....

Re: XML woes

PostPosted: Fri Jul 13, 2007 11:17 am
by Kaworu
Well, it still doesn't work. I managed to get the FlatEx to take my coordinates, but the code does nothing. In ExcBuilder, Bglcomp still won't put out anything, including the sample XML's Microsoft provides.  If anyone wants to try and use this updated XML and see if it compiles for them, here you go:


  version = "9.0"
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
         latitudeMinimum = "59.4507696413007"
       latitudeMaximum = "59.4542105991422"
       longitudeMinimum = "-146.306889996265"
       longitudeMaximum = "-146.307073274155"
      excludeBeaconObjects = "TRUE"
      excludeGenericBuildingObjects = "TRUE"
      excludeLibraryObjects = "TRUE"
/>



Thanks.  :P

Re: XML woes

PostPosted: Fri Jul 13, 2007 12:46 pm
by dave3cu
Image
It appears that your not defining your exclude rectangle properly.
Image
If there's something else causing the problem, I don't see it.

Your first .xml example compiled fine.
This second example did not. I then swapped the longitudeMax and Min and it compiled fine.

Dave

Re: XML woes

PostPosted: Sat Jul 14, 2007 9:01 am
by Kaworu
Thanks very much for the help Dave. It's appreciated. I'm going to North Carolina fora the week, so I'll work on it more soon. I still can't get anything, by me or Microsoft to compile.

Re: XML woes

PostPosted: Mon Jul 30, 2007 11:04 am
by Kaworu
I would appear I fixed it! Thanks!  ;D