So if I add my own enum values manually like this, you're saying they won't
show up in intellisense?:
<xs:element name="car" type="carType"/><xs:simpleType name="carType">
<xs:restriction base="xs:string">
<xs:enumeration value="Audi"/>
<xs:enumeration value="Golf"/>
<xs:enumeration value="BMW"/>
</xs:restriction>
</xs:simpleType>
"Zafar Abbas [MSFT]" <za****@microsoft.com> wrote in message
news:uS**************@tk2msftngp13.phx.gbl...
I dont think intellisense would perform this for you.
You can manually delve into the schema and find out that values but dont
know if you will be interested in that since it will not show up in
intellisense.
"Don" <do*************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... Hi:
I want to limit the values that can be entered for particular
attributes.
1) I have created an XSD from my XML document.
2) I dropped that XSD file into the following directory C:\Program
Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml
3) When I use VS.NET to create a new XML document, I do get the
intellisense working (all attributes and elements show up).
However, I want the intellisense also show the list of possible values
that can be used for particular attributes. How do I do this?
Thanks,
Don