Making HTML page work with XML?
I am building a database which will integrate with the database of another company, they will essentially push information from their database to mine. My question has to do with XML. The database will identify different truck types that users will be able to search for when they check a box. A flatbed truck will look like this
So basically when the user checks the box they will select the flatbed truck and will have the choice of selecting additional specifications, however... here is an example of the xml schema for the other company that I will integrate with
<span><input type="checkbox" name="equipment" value="flatbed">
<label><input type="checkbox" name="specs" value="btrain">B-Train Flatbed</label>
<label><input type="checkbox" name="specs" value="sides">
Essentially, the elements are the vehicle types and the attributes are the additional specifications. Now how do I integrate that with my HTML so that when a user checks a box it selects the element and attribute to work with the database?
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="f"> <!-- Flatbed -->
<xs:attribute name="b-train" type="xs:boolean" default="false"/> <!-- B-train -->
<xs:attribute name="sides" type="xs:boolean" default="false"/> <!-- with Sides -->