Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Nesting of same element in extension point schema

Title: Nesting of same element in extension point schema

Hi,

I want to nest the same element in the extension point schema. Is this possible? I tried a few things but didn’t work. So I defined a new element "component" using the extension point editor on PDE. Under "extension" node, I defined a sequence of "component" element (1-*). Within this sequence I created another new sequence of "component" element (1-*) and then defined another new sequence within the last sequence comprising of "component" element (1-*).   But I didn’t get the desired result. The extenion point had 3 components at the root level rather than nested. I also played around with "choice" but with no luck.

 To give you an example..

<component>
  <attr1><attr1>
  <attr2><attr2>
  <attr3><attr3>
          <component> <!-- optional -->
                    <attr1><attr1>
                    <attr2><attr2>
                    <attr3><attr3>
                                 <component> <!-- optional -->
                                        <attr1><attr1>
                                       <attr2><attr2>
                                       <attr3><attr3>
                                <component>
         <component>
<component>

Has anyone tried this kind of nesting? I appreciate all your help.

Thanx & Regards
Priyanka


Back to the top