On 17 Jul, 07:29, Nathan Rice <nathan.alexander.r...@gmail.com> wrote:
> Let’s push things to the edge now with a quick demo of many to many > relationship support. For this example we’re going to be using the > following XML: > > <Departments> > <Department> > <DeptNum>123</DeptNum> > <DeptName>Sales</DeptName> > <Employee> > <Number>143</Number> > <Name>Raul Lopez</Name> > </Employee> > <Employee> > <Number>687</Number> > <Name>John Smith</Name> > </Employee> > <Employee> > <Number>947</Number> > <Name>Ming Chu</Name> > </Employee> > </Department> > <Department> > <DeptNum>456</DeptNum> > <DeptName>Marketing</DeptName> > <Employee> > <Number>157</Number> > <Name>Jim Jones</Name> > </Employee> > <Employee> > <Number>687</Number> > <Name>John Smith</Name> > </Employee> > <Employee> > <Number>947</Number> > <Name>Ming Chu</Name> > </Employee> > </Department> > </Departments> Oh yes, I'd rather write pages of that rather than some SQL in a Python string. -- http://mail.python.org/mailman/listinfo/python-list