the schema design's question which contains Non xml data

Hi everyone,
I want to design a schema that contains Non xml data, e.g.a entity names people, which contains four elements ,such as name ,Id,  photo and project paper, and the photo is store in *.jpg format , progect paper is store in *.pdf format.I should search the photo and project paper base in people Id. Each people has his owner's phota and project paper.
The schema is designed like this :

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs = "" xmlns:tsd = "">
      <tsd:schemaInfo name = "people">
        <tsd:doctype name = "information">
        <tsd:doctype name = "photo">
        <tsd:doctype name = "projectPaper">
  <xs:element name = "information">
        <xs:element name = "name" type = "xs:string"></xs:element>
        <xs:element name = "id" type = "xs:string"></xs:element>


However, Basic this schema , I don’t know how to associate photo and paper to people’s id,that is to say how can i query the photo bases in people’s id??

Whether there is somethings wrong with the schema’s design??

And another question is how can i get the non xml data result, and execute program to open the result in web appication?

thank you ,