This is a discussion on "variable number of subelements in an element" within the Other Programming Languages section. This forum, and the thread "variable number of subelements in an element are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
variable number of subelements in an element
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How can I specify that a XML element has a variable number of subelements ? For instance the element op should have not only two subelements as described below, it should have a variable number of subelements. Can I do that somehow ?
<op> <op1 o = ""/> <op2 o = ""/> </op> |
|
|
|
#2
|
|||
|
|||
|
Re: variable number of subelements in an element
You can specify the number of sub elements allowed in the tag in the DTD/xml schema (xsd document) for your xml.
|
![]() |
| Tags |
| variable, number, subelements, element |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on removing element using yui | shotokan99 | JavaScript Forum | 1 | Aug 31st, 2007 13:42 |
| How To Fix <TD> Element Size? | ivan | Web Page Design | 6 | Dec 11th, 2005 18:43 |
| XHTML Block Element in an Inline Element | gohankid77 | Web Page Design | 6 | Jul 27th, 2004 10:15 |