[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Unique values in tags

Subject: RE: Unique values in tags
From: Doug Rudder <drudder@xxxxxxxxxxxxx>
Date: Thu, 11 Aug 2005 11:11:41 -0500
doug rudder
XML Schema has an element called xsd:unique that can be used for this
purpose. Google for it; there's a few discussions about its usage (with good
examples) available on the web.

-----Original Message-----
From: Antsnio Mota [mailto:amsmota@xxxxxxxxx]
Sent: Thursday, August 11, 2005 10:54 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Unique values in tags

Hello all:

 After 3 months away from xsl development, i'm gladly returned to it, and to
this excelent, one-of-a-kind, superb list.

 I have a question and i don't know if the answer is XSL or Schema, but here
it goes.

 I have a XML file with an associated Schema. That XML file will be edited
on some XML editors (Oxygen and/or Exchanger) and i have to force the user
to only insert unique values on a certain tag, something like a key.

 So the question is: Is it possible to define in the Schema that certain tag
has unique values?

 If not, is it possible using similar aproaches like DTD or RelaxNG?

 if not, is it possible using XSL/XSLT?

 Thanks a lot.

 One more question, is it ok to post Schema related questions on this list?
If not, can someone point me to one?

 Thanks again.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.