Thanx for you help but I try to find out how to do this some other place as what I need is a php Script that can Read a XML File not a PHP&XML File
Example 1
Submite this to the PHP Script
<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Will Produce
note
to:string
from:string
heading:string
body:string
But then If I upload anouther XML Schema File it will print off a differnt Set of Information.
Examlpe 2
Submite this to the PHP Script
<xs:element name="Person">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="DateOfBirth" type="xs:date"/>
<xs:element name="PlaceOfBirth" type="xs:string"/>
<xs:element name="Gender" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Will Produce
Person
Name:string
DateOfBirth:date
PlaceOfBirth:string
Gender:string