Huma 0 Posted March 14, 2006 Report Share Posted March 14, 2006 Helloi am new with schema and facing many problems in it.Consider an a piece of xml file below<artist>Nusrat <lastname>Ali</lastname></artist>I want to restrict "Nusrat" in XML schema but not getting how?can anybody help me out?Best RegardsHuma Quote Link to post Share on other sites
steve_marjoribanks 0 Posted March 14, 2006 Report Share Posted March 14, 2006 Helloi am new with schema and facing many problems in it.Consider an a piece of xml file below<artist>Nusrat <lastname>Ali</lastname></artist>I want to restrict "Nusrat" in XML schema but not getting how?can anybody help me out?Best RegardsHuma<{POST_SNAPBACK}> I think you should strongly consider re-structuring your XML so it looks like this:<artist> <firstName>Nusrat</firstName> <lastName>Ali</lastName></artist>Using mixed content elements is not recommended for data storage of this kind. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.