tw33zer scripsit:

> When I convert this to XSD, the resulting model for the p element is
> 'mixed', but that's not what I was after...

Actually, it is.  Because your element has an attribute, it must be
modeled in XSD with a complex type, and the way to indicate that a complex
type may contain character content is with "mixed='true'".  It sounds a
little strange to call something "mixed content" when no child elements
are allowed, but that's just how it's done in the wacky world of XSD.

-- 
You escaped them by the will-death              John Cowan
and the Way of the Black Wheel.                 co...@ccil.org
I could not.  --Great-Souled Sam                http://www.ccil.org/~cowan

Reply via email to