xml schema question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lexul
    New Member
    • May 2007
    • 7

    xml schema question

    Is there a way to specify in a .xsd file that you want to allow an element(a tag) in a .xml file to contain anything(tags, subtags, quotation marks, text, any punctuation marks, anything in no matter what order)?
    Thanks
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #2
    Yes it's possible, you may use a complex/mixed element.
    Please check this and this link.

    Comment

    • lexul
      New Member
      • May 2007
      • 7

      #3
      I am afraid an element defined as "mixed" will accept subtags and text but those subtags will not accept subtags.....i want an element to accept any depth of subtag nesting:(

      Comment

      • lexul
        New Member
        • May 2007
        • 7

        #4
        i don't know how many tags(subtags) the element will contain and neither their name(and i don't care). i just want to allow the element to contain ANYTHING

        Comment

        Working...