| | |
| | | |
| | | tableElement.AppendChild( subscribercolumnelement ); |
| | | tableElement.AppendChild( eventcolumnelement ); |
| | | |
| | | columns := selectsortedset( columns, Elements, column, column.Period() ); |
| | | isfirst := true; |
| | | traverse ( columns, Elements, column ) { |
| | | columnelement := xmlDOM.CreateElement( "column" ); |
| | | nameelement := xmlDOM.CreateElement( "name" ); |
| | |
| | | cells := selectsortedset( column, LibCal_SubscriberEventCell, cell, rows.Find( cell.LibCal_SubscriberEventRow() ) > -1, cell.LibCal_SubscriberEventRow().RowNr() ); |
| | | |
| | | traverse ( cells, Elements, c ) { |
| | | if( column.Index() = 0 ){ |
| | | if( isfirst ){ |
| | | row := c.LibCal_SubscriberEventRow(); |
| | | //subscriber |
| | | subscribercellElement := xmlDOM.CreateElement( "cell" ); |
| | |
| | | columnelement.AppendChild( cellElement ); |
| | | } |
| | | tableElement.AppendChild( columnelement ); |
| | | isfirst := false; |
| | | } |
| | | |
| | | xmlString := xmlDOMI.CreateSerializer().WriteToString( xmlDOM ) |