Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Event Publish XSD
Event Publish XSD [message #520367] Fri, 12 March 2010 06:36 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: March 2010
Junior Member
Hi All,

I want to generate a Event Publish XSD. It is a XSD that can accomodate any kind of incoming Business Event (for example New Employee, or Customer Registration, or say New Product etc). Meaning a very "generic" kind of XSD that can accomodate any kind of Business Event.

Does anyone has a such sample "Event Publish" XSD ?

thx
pp
Re: Event Publish XSD [message #520461 is a reply to message #520367] Fri, 12 March 2010 13:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
pp,

Elements of type xsd:anyType can accommodate arbitrary content but
you'll always need a schema with root elements declarations whose name
and namespace match the root element in your instance. Element and
attribute wildcards within complex types can be used to accommodate
arbitrary nested elements and attributes in instances.


javaraje@hotmail.com wrote:
> Hi All,
>
> I want to generate a Event Publish XSD. It is a XSD that can
> accomodate any kind of incoming Business Event (for example New
> Employee, or Customer Registration, or say New Product etc). Meaning a
> very "generic" kind of XSD that can accomodate any kind of Business
> Event.
>
> Does anyone has a such sample "Event Publish" XSD ?
>
> thx
> pp
Re: Event Publish XSD [message #604538 is a reply to message #520367] Fri, 12 March 2010 13:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
pp,

Elements of type xsd:anyType can accommodate arbitrary content but
you'll always need a schema with root elements declarations whose name
and namespace match the root element in your instance. Element and
attribute wildcards within complex types can be used to accommodate
arbitrary nested elements and attributes in instances.


javaraje@hotmail.com wrote:
> Hi All,
>
> I want to generate a Event Publish XSD. It is a XSD that can
> accomodate any kind of incoming Business Event (for example New
> Employee, or Customer Registration, or say New Product etc). Meaning a
> very "generic" kind of XSD that can accomodate any kind of Business
> Event.
>
> Does anyone has a such sample "Event Publish" XSD ?
>
> thx
> pp
Previous Topic:Event Publish XSD
Next Topic:how to add enumerations, one per line in schema editor
Goto Forum:
  


Current Time: Fri Nov 28 14:02:37 GMT 2014

Powered by FUDForum. Page generated in 0.03795 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software