XSD restriction to a set of string values

P

PeteOlcott

I need to know the syntax for restricting a type to a specific set of
string values where these string values are not encoded as enumeration
types.
 
M

Martin Honnen

PeteOlcott said:
I need to know the syntax for restricting a type to a specific set of
string values where these string values are not encoded as enumeration
types.

Why can't you enumerate the values? That seems to be what you are
looking for ("restricting a type to a specific set of
string values"). Otherwise I only see regular expression patterns as a
way, but that is more complicated than enumerating the values.
 
P

PeteOlcott

Why can't you enumerate the values? That seems to be what you are
looking for ("restricting a type to a specific set of
string values"). Otherwise I only see regular expression patterns as a
way, but that is more complicated than enumerating the values.

I am trying to make a SOAP interface such that the client can
dynamically reconfigure its graphical user interface with no
programming changes and no recompile required whenever the web
service is updated with new capabilities. This might not be possible
with pure SOAP, and may require the SOAP message to have an embedded
XML payload.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top