Support » Plugins and Hacks » Hacks » ok to add php DOM (xml) extension as dependency in core?

  • Hello.
    I’d like to improve the export (and import) to handle custom taxonomies properly.
    Is it ok to add the (classical) php extension DOM that handles XML documents as a hard dependency to WP?

    Until now you guys produce the XML “by hand” (echo & print various strings), whereas using DOM would allow for much more efficiency (including automated serialize / de-serialize).

    Thanks for your input. If this should be discussed some place else please let me know.

    B.

Viewing 1 replies (of 1 total)
  • Sorry… small mistake… I mean to add “SimpleXML” as the dependency. It is part of the libxml extension.

    (as far as I know DOM is part of the core of PHP5 unless explicitly disabled)

Viewing 1 replies (of 1 total)
  • The topic ‘ok to add php DOM (xml) extension as dependency in core?’ is closed to new replies.