[MDEV-15717] Implement better XPath 1.0 support for ExtractValue and UpdateValue XML functions or implemenet new functions Created: 2018-03-29  Updated: 2018-04-01

Status: Open
Project: MariaDB Server
Component/s: XML Functions
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Francisco Dueñas Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Compatibility, upstream

Issue Links:
Blocks
blocks MDEV-12045 XML Functions like JSON Open

 Description   

Hi current there is no way you can't a parse an XML-DOM document wihout knowing the real structure of the XML in advance, or either we cannot get the full content of a node (including other inner tags) with ExtractValue,

They are limited only to node value. so it is needed that thos functions can suppor more XPath 1.0 conventions to make this possible.
Ref: XPath 1.0 Specificacion

Or implement additional functions to manipulatean XMl document. Like JSON functions.
Here is a link for an UDF that can help:

https://www.codeproject.com/Articles/71336/MySQL-XML-User-Defined-Functions


Generated at Thu Feb 08 08:23:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.