How to enforce a pattern on complexContent?

Swaroop Kumar

Usenet Archive
Joined
Aug 12, 2003
Messages
4
Reaction score
0
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
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top