Hi all, here:
https://bitbucket.org/shlomif/vim-docbook-5-support I have a repository where I am trying to get a machine readable list of DocBook 4 and DocBook 5 elements. What I have done of parsing the DocBook 5's RNG appears to work fine, but I'm having trouble with parsing the DocBook 4 RNGs from http://www.docbook.org/rng/4.5/ and some elements, suck as <ulink /> are missing. Should I just parse and extract <element name=..."> from all the RNG fragments and then concatenate them and remove duplicates? Or is there a better way? I tried to find a way to extract this information out of the DocBook 4.x DTD, but could not find a DTD parser that allowed for introspection. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ First stop for Perl beginners - http://perl-begin.org/ Chuck Norris can read Perl code that was RSA encrypted. Please reply to list if it's a mailing list post - http://shlom.in/reply . --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org