I realize this is
off topic and I've exhausted the internet on this topic - nothing seems to work.
I hope that someone here is a schema namespace guru or can offere some advice in
this direction.
I've made a
relatively simple example to illustrate my problem.
I have an XML file
that has one element in a different namespace.
How do I get my
schema for the XML set up so that the TimeCreated element is in the correct
namespace? My current schema errors on the TimeCreated element because its in a
different namespace. I guess I just need the syntax for the schema that says
that TimeCreated is in the "kevin" namespace. I just can't get over
this hurdle.
<?xml
version="1.0" encoding="UTF-8"?>
<xs:element
name="MessageInformation">
<xs:complexType>
<xs:sequence>
<xs:element
name="TimeCreated" minOccurs="0"/>
<xs:element
name="MessageType"
minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin L
Cobb, MT(ASCP), SCJP2
Senior Software Engineer
Emergint,
Inc.
2724 River Green Circle
Louisville, KY 40206
Kevin.Cobb@emergint.com
502.896.6210 ext 255
502.896.6170 fax
The preceding e-mail
message and attachments, if any, contains information that is confidential and
qualifies as such under the Definition of Confidential Information in the
Non-Disclosure Agreement, and may constitute non-public information and trade
secrets. It is intended to be conveyed only to the designated recipient(s). If
you are not an intended recipient of this message, please notify the sender at
502.896.6210.