Skip to content

Commit 4e4b7ed

Browse files
committed
update again for xml function release
1 parent 65fcf92 commit 4e4b7ed

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

CN/modules/ROOT/pages/v3.4/26.adoc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ SELECT existsnode(XMLType('<a><b>d</b></a>'), '/a') from dual;
4242
| 10 | <<insertchildxmlbefore>> | 该函数用于向指定的XML路径之前插入子节点
4343
| 11 | <<insertchildxmlafter>> | 该函数用于向指定的XML路径之后插入子节点
4444
| 12 | <<xmlisvalid>> | 该函数用于检查XML格式是否正确
45-
| 13 | <<xmlelement>> | 该函数用于生成XML格式的数据结构
4645
|====
4746

4847

@@ -222,21 +221,4 @@ xmlisvalid
222221
------------
223222
t
224223
(1 row)
225-
```
226-
227-
[[xmlelement]]
228-
=== xmlelement
229-
```
230-
ivorysql=# create table xmltest(id int, data XMLType);
231-
CREATE TABLE
232-
ivorysql=# insert into xmltest values(1,'<value>one</value>');
233-
INSERT 0 1
234-
ivorysql=# insert into xmltest values(2,'<value>two</value>');
235-
INSERT 0 1
236-
ivorysql=# SELECT XMLELEMENT("Employee"), XMLELEMENT("Id", x.id), XMLELEMENT("Data", x.data) AS "Result" FROM xmltest x;
237-
xmlelement | xmlelement | Result
238-
------------+------------+-------------
239-
<Employee/> | <Id>1</Id> | <Data>&lt;value&gt;one&lt;/value&gt;</Data>
240-
<Employee/> | <Id>2</Id> | <Data>&lt;value&gt;two&lt;/value&gt;</Data>
241-
(2 rows)
242224
```

EN/modules/ROOT/pages/v3.4/26.adoc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ When implementing these 11 Oracle-compatible XML functions, IvorySQL adopted two
4545
| 10 | <<insertchildxmlbefore>> | This function is used to insert child nodes before a specified XML path.
4646
| 11 | <<insertchildxmlafter>> | This function is used to insert child nodes after a specified XML path.
4747
| 12 | <<xmlisvalid>> | This functions is used to check the xml content is valid or not
48-
| 13 | <<xmlelement>> | This functions is used to produce an XML element.
4948
|====
5049

5150

@@ -226,20 +225,3 @@ xmlisvalid
226225
t
227226
(1 row)
228227
```
229-
230-
[[xmlelement]]
231-
=== xmlelement
232-
```
233-
ivorysql=# create table xmltest(id int, data XMLType);
234-
CREATE TABLE
235-
ivorysql=# insert into xmltest values(1,'<value>one</value>');
236-
INSERT 0 1
237-
ivorysql=# insert into xmltest values(2,'<value>two</value>');
238-
INSERT 0 1
239-
ivorysql=# SELECT XMLELEMENT("Employee"), XMLELEMENT("Id", x.id), XMLELEMENT("Data", x.data) AS "Result" FROM xmltest x;
240-
xmlelement | xmlelement | Result
241-
------------+------------+-------------
242-
<Employee/> | <Id>1</Id> | <Data>&lt;value&gt;one&lt;/value&gt;</Data>
243-
<Employee/> | <Id>2</Id> | <Data>&lt;value&gt;two&lt;/value&gt;</Data>
244-
(2 rows)
245-
```

0 commit comments

Comments
 (0)