I have been trying to extend Spring's xml. I need help with the following scenarios:
1. BeanDefinitionParser for the following
I have gone thru the example provide in docs(Appendix B) regarding this, but I need to define the structure in recursive way, where depth of 'component' can be anything.Code:<myns:component> <myns:component> <myns:component> <myns:component/> </myns:component> </myns:component> </myns:component>
2. BeanDefinitionParser for the following
Say I have defined the BeanDefinitionParser for 'component1' and 'component2' seperately, is there a way to inform the beandefinitionparser of 'component' about it.Code:<myns:component> <myns:component1/> <myns:component2/> </myns:component>
Thx in adavance.
(Note: if this is the wrong forum please redirect me to correct one)


Reply With Quote