Background of the issue:
I am working on a site under development and want to translate the Group element ID (Anchor) in Gutenberg using WPML. I encountered an error when trying to use custom XML: "Element 'gutenberg-block': No matching global declaration available for the validation root."
Symptoms:
I get an error message when trying to use custom XML for translating Gutenberg Group anchors.
Questions:
How can I translate Gutenberg Group element IDs (Anchors) using WPML?
What is causing the error with the custom XML for Gutenberg blocks?
So, I missed first part of custom xml and changed section to div. Here is my working code:
//div/@id
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.