How to specify free flow text for an Element in the XML Schema

Discussions

XML & Web services: How to specify free flow text for an Element in the XML Schema

  1. Hi,
      I have query related to XML Schema. I don't know if this is the right forum to discuss it or not.
      How can I specify free flow text for an Element. Say for instance,
    if I have an Element named abc and this element can contain free flow text, then how can I do that?

    eg.
    <abc>
        Hi!! this Element can contain any character be it "<" or ">" or
    any character.

    </abc>


    Element <abc> can contain any free flow text. What datatype should I specify for this element in the Schema?
  2. Hi,

    do this:

    <abc> ![CDATA[
        Hi!! this Element can contain any character be it "<" or ">" or
    any character. ]]

    </abc>

    cheers,

    Joost.