You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Schuermans Bruno <Br...@gial.be> on 2004/07/22 16:30:57 UTC

CDATA

Here is my schema:

<xs:schema targetNamespace="http://www.gial.be/ebrussels"
    xmlns="http://www.gial.be/ebrussels"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">

    <xs:element name="xbean">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="text" type="xs:string"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>

I would like that the XML occurences of this schema have CDATA section for the element "text" to be able to get special characters.

Does any one know how I have to do?

thanks.