On Fri, 25 Jun 2004 14:12:25 -0400, Dino Chiesa [Microsoft] wrote:
I don't understand.
If a class contains a ParkingLotCollection (a Mall?) , then shouldn't each
Lot in the collection be serialized independently?
<Mall>
<Lot>
<ParkedCar>
<Make>Ijbnxnwhna</Make>
<Year>1995</Year>
<Color>red</Color>
<VIN>582949646792293965529740</VIN>
</ParkedCar>
<ParkedMotorcycle>
<Make>Ggikttsgpp</Make>
<Year>1985</Year>
<Color>red</Color>
</ParkedMotorcycle>
</Lot>
<Lot>
<ParkedMotorcycle>
<Make>Dpdiqdccez</Make>
<Year>1986</Year>
<Color>green</Color>
</ParkedMotorcycle>
<ParkedCar>
<Make>Gbulediyje</Make>
<Year>1998</Year>
<Color>blue</Color>
<VIN>331456735041360460902400</VIN>
</ParkedCar>
</Lot>
</Mall>
What would you like to see happen?
That is what I would like to have. Only that I would like to be able to
have more than one Mall.
Maybe I should have told you right away what I really want. I want to
serialize the following (well, a subset actually):
http://landxml.org/schema/landxml-1....LandXMLDoc.htm
I'm having a lot of trouble with the Alignment and Alignments elements in
the LandXML element. There is a sample file here:
http://www.landxml.org/schema/LandXM...20Profiles.xml
If you have a look at it, you will see that it is possible to have several
Alignments' within the LandXML element, and within each Alignments it
should be possible to have several Alignment's, although this sample only
has one. This sample shows several Alignment's within each Alignments:
http://www.landxml.org/schema/LandXM...k/hidden_m.xml
The LandXML specification says something like this:
LandXML can contain 1-oo (oo == infinite) number of Alignments. Alignments
can contain 1-oo number of Alignment's. Alignment's are collections of
CoordGeoms, which can contain Line's, Curve's, or Spiral's (in a specific
order!).
Dino, do you know how I can serialize this? You can use the parkinglot
example if you'd like. I hope I have understood LandXML the right way. If
so, it should be equivalent to the parkinglot at the top of this message,
with the possibility to have 1-oo Mall's.
Thank you!
--
Daniel