|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: API versioning in SAX
At 17:10 30/07/98 -0500, January Tsai wrote: >I just started leaning XML so correct me if I'm wrong here. > >I think it's a great idea! You're right - it is. It takes a little while to learn everything about it :-). > >Since SAX is actually a SIMPLE API for XML, >it helps a lot if we have some functions like: It's important that you read the spec (REC-xml-19980210) and get the terminology right. The basic unit of XML is an Element (not an Item) and since Elements can contain other Elements you can't just get a String Value. > >public String getValue( String ItemName, String DocumentName, ... ); >public boolean putValue( String Value, String ItemName, String Document...); SAX is not an editor or authoring tool so you can't use it to add data. > >Just compare to those registry access functions, >they are very handy. I think you'll find that actually using SAX-based parsers is quite a good way to get to know XML. There are now many examples and most of them have simple test routines that will give you some idea of what is going on. Also if you go to the 'XML Home Page' (http://www.sil.org/sgml/xml.html) you'll find lots of good material or the FAQ (http://www.ucc.ie/xml). P. [Also on XML-DEV we try to avoid copying the whole of the message to which we are Reply-ing.] Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic net connection VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary http://www.venus.co.uk/vhg xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








