Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Schema: error with restriction in simpleContent >Thread Next - Re: Schema: error with restriction in simpleContent Re: Schema: error with restriction in simpleContentTo: NULL Date: 11/1/2007 10:34:00 AM
Hy Pavel,
thanks for the answer.
I just want to scheme a simple xml tag like this
<mytag myattr="10">foo</mytag>
and want to restrict "foo" to the length of 10 characters, thats all.
But I didn't find an example on the web for doing such an restriction
in this case (I am pretty new to XML, but I think you already know
that ;-))
As I understand the mytag must be a complex type, cause it has an
attribute ("myattr") and a content ("foo").
What's the best way to achieve this?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
