Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do I Specify Attributes in a complexType XML Schema Declaration?

0
Posted

How Do I Specify Attributes in a complexType XML Schema Declaration?

0

If you have an element based on a global complexType, the SQLType (and SQLSchema) attributes should be specified for the complexType declaration. In addition you can (optionally) include the same SQLType and SQLSchema attributes within the element declaration. The reason is that if you do not specify the SQLType for the global complexType, XML DB creates an SQLType with an internally generated name. The elements that reference this global type cannot then have a different value for SQLType.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123