XSD - String values that contain '<' and '>'
Hello,
My xml scheme contains an element that has no attributes and takes on string values as shown below.
...
<xs:element name="start" type=xs:string"></element>
...
My xml file looks like this,
<start>
Hello, notice that this text contains <b>html</b>
</start>
Notice that the value contains html. Validating this xml against my schema returns an error saying that "<b> is not a child element of <start>".
Is there a way to define the data type 'xs:string' to take on html text literally and not treat it as elements of the schema?
Please advise,
Bobby
|