How will XML processors pass notation name, identifiers to applications?

Amit Rekhi amitr at abinfosys.com
Mon Nov 16 16:29:50 GMT 1998


Hello,
            After having read about NOTATIONS in XML from the spec. 
I had a ques. :-

 I have a sample xml file :-

<?xml version="1.0" ?>
<!DOCTYPE start-ele [
   <!NOTATION MyFormat SYSTEM "http://www.my.net/myformat.spc">
   <!ENTITY MyEnt SYSTEM "MyFormatData.ent" NDATA MyFormat>
   <!ELEMENT start-ele EMPTY>
   <!ATTLIST attr-for-notation ENTITY #REQUIRED>
]>
<start-ele attr-for-notation=MyEnt />

When a validating xml processor will start processing the above, it is 
supposed to pass

1) Notation Name (MyFormat in above case)
2) Notation System Identifier (http://www.my.net/myformat.spc)
3) Entity Name (MyEnt in the above case)
4) Entity System Identifier (MyFormatData.ent)

to the application (on behalf of which the xml processor is validating).


- How will the application know which are the elements for which
 the Notation name, Notation System ID,Entity Name,Entity System ID 
are to be taken from the XML processor?

- How will the XML processor pass the above 4 to the application?


Thanks in advance,

AMIT REKHI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19981116/976a090b/attachment.htm


More information about the Xml-dev mailing list