How do i designate in XSD that an element only contains CDATA?

xml, xsd

Solution

<element name="price-update" type="string"></element>  

is about as close as you can get.

(I thought it best to move the answer out of the comments and into an actual answer).

Problem

How can I represent the following in XSD. ``` <price-update> <![CDATA[ arbitrary data goes here ]]> </price-update> ```

Original source

Related problems