[PHP-DB] xml doccument validation ?????

2002-05-20 Thread toby z

guyz 
its terrable 
i have a well formed xml doccument 
but i cant get it validated ...
i keep getting this error
this file is not valid. all fields referred to from
the key identity constraint 'user_info_memb_id' 
must exist

now 
i had made 6 tables in access 
but i made a schema in xml from the scratch ... no
import from access u know ...
and i defined all my table names as schema elements
 with sub elements and attributes 

the xml doccument is :

?xml version=1.0 encoding=UTF-8?
user-info
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=F:\New Folder (2)\final
project\d bs\proj_db.xsd
role
memb/
modrtr/
/role
member
memb-id/
email/
name firstName= lastName=/
login password= login=/
news-letter-subscription/
lang-id/
country/
/member
/user-info


where am i messing it up 

oh  i ve generated this thru xml spy ..if that helps
.
:( .

will somebody plz help 
i'd really appriciate any help ... any word on this
.

stuck az usual  :( 

toby ..


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] xml doc validation .... details ...... ! ! ! !

2002-05-20 Thread toby z

well  its something like 

i need to take user input and store it somewhere 
and then retrieve it back thru DOM 

and i guess i need to store that input in an xml
doccument like the one i sent earlier 
or do i 

now the thing that im most concerned bout is .
this doccument or anyother that i try tomake using the
scheema doesent get validated 
i keep getting an error fo one of the fields for each
.

i've tried changing the field types  but ...
even that doesnt change anything ..


secondly  i made a single scheema . and i
included all the elements in it .
user-info, content-info, categry,..
with all their subelements .
i think im right  or am i 

third .i have a few elements in the scheema that
are repeated .

do u think that cud be the problem  ?

so thats it ...
if u want me to tell u more  plz do let me know


thnx a million 

toby 




__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php