www.webdeveloper.com
Results 1 to 2 of 2

Thread: XML search file.

  1. #1
    Join Date
    Jun 2014
    Posts
    1

    Question XML search file.

    im currently trying to Create an XML document and schema (XSD) for a car dealer a simple search and having the results returned.

    <?xml version = "1.0" encoding = "utf-8"?>
    <Dealers>
    <Dealers>
    <dealerName></dealerName>
    <dealerAddress></dealerAddress>
    <dealer><carMake/>
    <carModel></carModel>
    <fuelType></fuelType>
    <noOfDoors></noOfDoors>
    <manufactureYear></manufactureYear>
    <noOfOwners></noOfOwners>
    <transmissionType></transmissionType>
    <price></price>
    <carRegistration></carRegistration>
    </dealer>
    </Dealers>


    this what i have come up with soo far im not sure if its right or not. can anyone help.

  2. #2
    Join Date
    Mar 2012
    Posts
    1,742
    I don't know anything about XML searches, but I note that you have:
    Code:
    <Dealers>
    <Dealers>
    
    ...
    
    <dealer><carMake/>
    
    ...
    
    </dealer>
    </Dealers>
    I.e. your closing tags do not match the opening ones. I hope this helps.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles