[xml] What is the best way to implement semantics?



In my xmll to braille program I have libxml2 create a parse tree of the 
document. I have written a basic tree-traversal routine. What is the best 
way to implement semantics, that is, to interpret elements and their 
attributes? Is there code or documentation that I should be looking at?

I am thinking of imllementing Docbook and Daisy directly. How can I tell 
which one I have?

Other xml formats will be converted to one of the above two using xslt. Is 
this realistic?


Thanks,
John


-- 
John J. Boyer; Executive Director, Chief Software Developer
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]