|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Restricting the Attribute value in XML Schema
Hi All,
I have an XMl structure and i am creating XML Schema document for validating xml document. What i want that for a particular element it should not allow same attribute name. for example below is the XML structure : <News> <Regional> <Report Region="Asia"> <Title></Title> <Story></Story> </Report> </Regional> </News> What i want in Xml Schema how can i restrict that in the "Region" Attribute of elemet <Report> value "Asia" occure only once. It should not allow two <Report> element with the value "Asia" in Region Attribute. Thanks for the help -John |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using xml schema as datasource, create a xml file file with data.. | dhol | .NET | 0 | 12-27-2005 06:43 AM |
| Validating XML fragment against schema | teclioness | .NET | 0 | 10-07-2005 08:10 AM |
| Data Junction Announces XML Junction 7.51 | Tim Frost | xml.announcements | 0 | 04-02-2001 11:53 AM |
| Check out Turbo XML: Free trial download | Extensibility | web.announcements | 0 | 07-20-2000 07:20 PM |
| Check out Turbo XML | Sales | xml.announcements | 0 | 07-20-2000 07:18 PM |