Creating XMLDocument

Anton Schoultz - ePOS antons at epos.co.za
Wed Nov 17 09:01:31 GMT 1999


Hi All,

I am busy writing an API for XMLDocuments which will wrap
the classes supplied in Oracle's parser (v2) to
'hide' some of the details.

I have managed the add / remove and edit methods for 'items',
and methods to move through the document tree.
(I use 'item' to refer to {tag attributes...}data{/tag} )
I have an 'Item' class which allows add/del/upd of attributes,
data and the tag name.

I would like to know how to create a new (arbitrary) document -
How do I create the Root item ( the one with the DocType Name ) ?
Do I need to specify a DTD first? if so, how would I do this (DTDs would be
on a web server, all documents to be created would probably have a DTD
set-up and made available on the web server)

Thanks in advance

Anton Schoultz
e-mail: mailto:antons at ePOS.co.za
Office: +27 11 807-9400 Ext. 205


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list