Hi, sorry if this is an "old" question, but the list archive at http://archive.covalent.net seems not to work for some days now (I only get a "document contained no data").
My Problem is: I would like to have access to the info "what element is possible at a certain place in the DOM", during the creation of a document (based on a given DTD/schema) from scratch. I know how to access the basic DTD structure with the "grammar-access" feature (even if it's in schema representation :-). But I don't want to re-invent all the regular expressions stuff neccessary to test whether a given sequence of elements is valid for a certain parent element. My idea was, that the validotor should allready have this information. The XMLContentModel provides a method whatCanGoHere() which looks quite like what I want. But I don't have any clue on how to access this... How do I set up the Grammar from a DTD file? And how do I connect this to a DOM Document in work? Well, I could imagine to use the "try'n'error" methode: Streaming out the DOM Document (after each insert of an Element) into the validating parser, catching SAXParseExceptions. But this is not really elegant ;-) I hope someone has a hint for me. Or do you think this is a question for the developer list? Thanks in advance, Andi. --
begin:vcard n:Th�nnessen;Andreas tel;cell:(+49)-175-9633552 tel;fax:(+49)-89-321407-12 tel;home:(+49)-8031-807856 tel;work:(+49)-89-321407-22 x-mozilla-html:FALSE url:http://www.philosys.de/ org:Philosys Software GmbH;<BR><DIV align="left"><IMG SRC=http://www.philosys.de/~andreas/img/philosys.gif></DIV> adr:;;Edisonstr. 6;Unterschlei�heim;Bayern;85716;Germany version:2.1 email;internet:[EMAIL PROTECTED] title:Dipl. Ing. FH Elektrotechnik / Datentechnik fn:Andreas Th�nnessen end:vcard
smime.p7s
Description: Kryptographische Unterschrift mit S/MIME
