Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a XSD file with some enumeration. I am using XmlReader class to read xml files and validating against my XSD file with enumeration. But I want to accept enum values in any case like Job1, job1 etc.

conetnt of XSD file:

HTML
<xs:element name="JobType" xmlns:xs="#unknown">
   <xs:simpletype>
      <xs:restriction base="xs:string">
         <xs:enumeration value="JOB1" />
         <xs:enumeration value="JOB2" />
         <xs:enumeration value="JOB3" />
      </xs:restriction>
   </xs:simpletype>
</xs:element>


Please suggest me if there is any way to deal with case insensitive comparision in C# 2.0

Regards,
Manish Agarwal
Posted

1 solution

Perhaps this will help
Custom XPath Functions[^]
 
Share this answer
 
Comments
Manish K. Agarwal 12-Jul-12 8:25am    
This is not a solution to my query.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900