Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > How to define the content of an xs:any element

Thread Tools

How to define the content of an xs:any element

Posts: n/a
I'm writing a schema for a particular soap message. In the soap schema
any content is allowed in the header and body elements. Is it possible
to define the elements allowed in the header and body section in my
own schema but still be able to create xml files that will validate
against both the soap schema and my schema? E.g., can I somehow
specify that one specific element is mandatory and another is optional
in the header section?

Thanks, Erik.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
how to Update/insert an xml element's text----> (<element>text</element>) HANM XML 2 01-29-2008 03:31 PM
XPath expression for element based on content of other element withsame parent Ian Wilson XML 2 07-26-2007 04:11 PM
About typedef -- define the function pointer or define function model? robin liu C Programming 3 04-21-2006 03:26 PM
How to define a define that defines some defines ? theotyflos C Programming 3 02-19-2004 05:07 PM