How to enforce a pattern on complexContent?

S

Swaroop Kumar

Hi:

Here's a problem that's been vexing me for a couple of days now. I
need to represent a structure in which an element can either:

1) contain text conforming to a certain pattern (regex) OR
2) contain an element that contains text conforming to the same
pattern mentioned above.

My first question is, can this be done in schemas? If so, can you give
me some tips/pointers on how I would accomplish this? I've tried it
using various methods, but none of them work. I'd really appreciate it
if somebody would respond with their thoughts on this.

Thanx in advance,
Swaroop
 

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

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top