Re: Multiple include
Thks for your answers. I have another additional question. Is it allowed to have a double include between txo schema ? i.e. A.xsd includes B.xsd and B.xsd includes A.xsd ? Will it create a loop ? Thks >It can cause problems and xerces will complain (depending on the version). >Note the scenerio you have outlined does not cause a problem until you also >include B and or C into A. It is better to avoid this situation by >designing so that all schema are included only once. > >To do this you will need to create additional 'proxy' schema to do the >including for each document level schema you have. > >If A needs components from B, C, D, and G >Then create an additional schema Aa that includes A, B,C,D, and G. > >You can do the same thing for B, C and D. > >The instance document would then need to point to Aa. _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format