WordPress.org

Ready to get started?Download WordPress

Forums

ok to add php DOM (xml) extension as dependency in core? (2 posts)

  1. berteh
    Member
    Posted 1 year ago #

    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.

  2. berteh
    Member
    Posted 1 year ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Topic