[
Lists Home |
Date Index |
Thread Index
]
- From: "Amit Rekhi" <amitr@abinfosys.com>
- To: "Xml-Dev (E-mail)" <xml-dev@ic.ac.uk>
- Date: Tue, 6 Oct 1998 09:06:51 +0530
Hello,
After having sought the advice of XML gurus on this list , I
have learnt that the <!NOTATION> type can be used for data validation of
element content. eg.
<? xml version="1.0" ?>
<!DOCTYPE start [
<!NOTATION AlphaCheck SYSTEM "AlphaCheck.cmp">
<!ELEMENT start (#PCDATA)>
<!ATTLIST start datatype-validate NOTATION (AlphaCheck) #FIXED
"AlphaCheck">
]>
<start>TestData</start>
The SystemID =AlphaCheck.cmp could point to a COM component containing
validation routines.
QUESTIONS
* I am in the process of trying to incorporate the use of notations in an
XML based system I am working on, I was looking for some implementations
involving notation use that could give me a clear picture of how user
applications process the notational data (SystemID etc) given to it by the
XML parser.
Any clues/information/implementations on such types of XML applications?
* Would anyone be knowing of any XML application which uses NOTATIONS the
way I aspire to use them (as shown in the eg. above)?
I have been told that datatype validation is taken care of by the
DCD/XSchema specs, but they are yet to reach proper standardisation and so I
look at notations within DTDs for taking care of my immediate need.
Any help would be greatly appreciated,
AMIT
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|