in reply to Generate Perl Code from XML Schema?

I'll try to explain it better:

Is there a tool that can generate Perl objects that can read and write XML files that conform to a given XML Schema?

Given this (simplified example) XML Schema:
<!-- W3C XML Schema --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefa +ult="qualified" attributeFormDefault="unqualified"> <xs:element name="Product"> <xs:complexType> <xs:all> <xs:element name="Owners"> <xs:complexType> <xs:sequence> <xs:element name="FirstName" type="xs:string" /> <xs:element name="LastName" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:all> </xs:complexType> </xs:element>

The tool should generate all of the Perl Objects necessary so that I can access Read/Write XML files that conform to the Schema.
Example Code:

require AutoGeneratedCode; my $Product = new AutoGeneratedCode::Product->new('product.xml'); +# product.xml is an XML document that conforms to the Schema above $Product->Owners->FirstName('Mark'); $Product->Owners->LastName('Twain'); $Product->Write('modifiedproduct.xml'); # Writes it self to XML fi +le that conforms to Schema above