Guest xinelo Posted May 18, 2006 Share Posted May 18, 2006 Hi, When writing the contents of a XML element, I can set:- only elements: <!ELEMENT name (subelement1, subelement2, subelement3)> - only text: <!ELEMENT name (#PCDATA)> - an OR combination of elementos or of text and other elements: <!ELEMENT name (subelement1|subelement2|subelement3)><!ELEMENT name (#PCDATA|subelement)> HOWEVER, I've got problems to set a combination of a list of subelements OR text, such as: <!ELEMENT name (#PCDATA|subelement1|(subelement2,subelement2)*> Could someone tell me why or how I should write this? Any help would be very welcome! Thanks a lot!xinelo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now