One Star

Element Definition attributes?

Being a Newbie to this I have a basic question. I was expecting the element definitions to have a size attribute.
When I add a string element I don't see any way to define it's size. I just created a simple domain and added
an element, but I don't see any way to define it's size.
What am I missing?
Thanks,
Pete Kaylor
1 REPLY
Four Stars

Re: Element Definition attributes?

Hello,
It's possible to set facets (lenght, pattern, enumeration) on each attribute.
The steps are:
- click on the attribute => "Change to Simple type"
- in the new message box, choose "Custom" (you can give a name for the custom type for reusing your restriction on another attribute)
- Expand your attribute and righ click on the node (named or anonymous, depending your choice on the previous step) => Edit length