How does the xml of wordpress enter mysql without any connection?

how does the xml of wordpress enter the mysql database?

<rss version="2.0"
    xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:wp="http://wordpress.org/export/1.2/"
>    
<item>
<channel>
    <title>cako NO.1</title>
    <link>http://123123.123/13335</link>
    <pubDate>Wed, 10 Jan 2018 03:01:21 +0000</pubDate>
    <dc:creator><![CDATA[Ruby]]></dc:creator>
    <guid isPermaLink="false">http://123123.123/?p=13335</guid>
    <description></description>
    <content:encoded>
The

type looks like this format. I really don"t know how to get to the database.
is there a suite available?
I hope God will give me advice!

Jun.17,2021

using this method, first convert xml to an object, and then add to the database through the object.

PHP: simplexml_load_string-Manual- http://www.php.net/manual/zh/.

you can save xml in mysql as a string. When you use it, you can use ExtractValue (), a method specifically dealing with xml provided by mysql, to extract the contents of xml, or you can use UpdateXML () to update xml,. You can consult official documents

.
Menu