File: Data.xml <?xml version = "1.0" ?> <CreditAccount currency = "US$"> <AccountName>Ray Bayliss</AccountName> <AccountNumber>27012</AccountNumber> <Amount>200.00</Amount> </CreditAccount> File: Schema.xsd <?xml version = "1.0" ?> <schema xmlns= "http://www.w3.org/2001/XMLSchema"> <element name = "CreditAccount"> <complexType> <sequence> <element name = "AccountName" type = "string" /> <element name = "AccountNumber" type = "integer" /> <element name = "Amount" type = "string" /> </sequence> <attribute name = "currency" default = "US$" /> </complexType> </element> </schema>