/[dgee]/dgee/cslib/DotGNU/XmlRpc/XmlRpcWriter.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/XmlRpc/XmlRpcWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by npg, Tue Jul 22 10:46:30 2003 UTC revision 1.1.2.3 by npg, Tue Jul 22 10:58:11 2003 UTC
# Line 123  namespace DotGNU.XmlRpc Line 123  namespace DotGNU.XmlRpc
123        }        }
124        else if( o is XmlRpcArray ) {        else if( o is XmlRpcArray ) {
125          tag = "array";          tag = "array";
126            Console.Out.WriteLine( "An array" );
127            
128            writer.WriteLine( "<array>" );
129            writer.Indent++;
130            writer.WriteLine( "<data>" );
131            writer.Indent++;
132            foreach( object entry in (XmlRpcArray)o ) {
133              writer.WriteLine( "<value>" );
134              writer.Indent++;
135              this.Write( entry );
136              writer.Indent--;
137              writer.WriteLine( "</value>" );
138            }
139            writer.Indent--;
140            writer.WriteLine( "</data>" );
141            writer.Indent--;
142            writer.WriteLine( "</array>" );
143        }        }
144      }      }
145            

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26