@@ -56,19 +56,16 @@ SELECT table_to_xml('testxmlschema.test1', false, true, '');
56
56
table_to_xml
57
57
---------------------------------------------------------------
58
58
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
59
- +
60
59
<a>1</a> +
61
60
<b>one</b> +
62
61
</test1> +
63
62
+
64
63
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
65
- +
66
64
<a>2</a> +
67
65
<b>two</b> +
68
66
</test1> +
69
67
+
70
68
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
71
- +
72
69
<a>-1</a> +
73
70
</test1> +
74
71
+
@@ -79,19 +76,16 @@ SELECT table_to_xml('testxmlschema.test1', true, true, '');
79
76
table_to_xml
80
77
---------------------------------------------------------------
81
78
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
82
- +
83
79
<a>1</a> +
84
80
<b>one</b> +
85
81
</test1> +
86
82
+
87
83
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
88
- +
89
84
<a>2</a> +
90
85
<b>two</b> +
91
86
</test1> +
92
87
+
93
88
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
94
- +
95
89
<a>-1</a> +
96
90
<b xsi:nil="true"/> +
97
91
</test1> +
@@ -510,19 +504,16 @@ SELECT table_to_xml_and_xmlschema('testxmlschema.test1', false, true, '');
510
504
</xsd:schema> +
511
505
+
512
506
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
513
- +
514
507
<a>1</a> +
515
508
<b>one</b> +
516
509
</test1> +
517
510
+
518
511
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
519
- +
520
512
<a>2</a> +
521
513
<b>two</b> +
522
514
</test1> +
523
515
+
524
516
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
525
- +
526
517
<a>-1</a> +
527
518
</test1> +
528
519
+
@@ -561,19 +552,16 @@ SELECT table_to_xml_and_xmlschema('testxmlschema.test1', true, true, 'foo');
561
552
</xsd:schema> +
562
553
+
563
554
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="foo"> +
564
- +
565
555
<a>1</a> +
566
556
<b>one</b> +
567
557
</test1> +
568
558
+
569
559
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="foo"> +
570
- +
571
560
<a>2</a> +
572
561
<b>two</b> +
573
562
</test1> +
574
563
+
575
564
<test1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="foo"> +
576
- +
577
565
<a>-1</a> +
578
566
<b xsi:nil="true"/> +
579
567
</test1> +
@@ -670,19 +658,16 @@ SELECT query_to_xml_and_xmlschema('SELECT * FROM testxmlschema.test1', true, tru
670
658
</xsd:schema> +
671
659
+
672
660
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
673
- +
674
661
<a>1</a> +
675
662
<b>one</b> +
676
663
</row> +
677
664
+
678
665
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
679
- +
680
666
<a>2</a> +
681
667
<b>two</b> +
682
668
</row> +
683
669
+
684
670
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> +
685
- +
686
671
<a>-1</a> +
687
672
<b xsi:nil="true"/> +
688
673
</row> +
@@ -695,18 +680,15 @@ SELECT cursor_to_xml('xc'::refcursor, 5, false, true, '');
695
680
cursor_to_xml
696
681
-------------------------------------------------------------
697
682
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
698
- +
699
683
<a>-1</a> +
700
684
</row> +
701
685
+
702
686
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
703
- +
704
687
<a>1</a> +
705
688
<b>one</b> +
706
689
</row> +
707
690
+
708
691
<row xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
709
- +
710
692
<a>2</a> +
711
693
<b>two</b> +
712
694
</row> +
@@ -773,25 +755,21 @@ SELECT schema_to_xml('testxmlschema', false, true, '');
773
755
<testxmlschema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
774
756
+
775
757
<test1> +
776
- +
777
758
<a>1</a> +
778
759
<b>one</b> +
779
760
</test1> +
780
761
+
781
762
<test1> +
782
- +
783
763
<a>2</a> +
784
764
<b>two</b> +
785
765
</test1> +
786
766
+
787
767
<test1> +
788
- +
789
768
<a>-1</a> +
790
769
</test1> +
791
770
+
792
771
+
793
772
<test2> +
794
- +
795
773
<z>55</z> +
796
774
<y>abc</y> +
797
775
<x>def </x> +
@@ -1159,26 +1137,22 @@ SELECT schema_to_xml_and_xmlschema('testxmlschema', true, true, 'foo');
1159
1137
</xsd:schema> +
1160
1138
+
1161
1139
<test1> +
1162
- +
1163
1140
<a>1</a> +
1164
1141
<b>one</b> +
1165
1142
</test1> +
1166
1143
+
1167
1144
<test1> +
1168
- +
1169
1145
<a>2</a> +
1170
1146
<b>two</b> +
1171
1147
</test1> +
1172
1148
+
1173
1149
<test1> +
1174
- +
1175
1150
<a>-1</a> +
1176
1151
<b xsi:nil="true"/> +
1177
1152
</test1> +
1178
1153
+
1179
1154
+
1180
1155
<test2> +
1181
- +
1182
1156
<z>55</z> +
1183
1157
<y>abc</y> +
1184
1158
<x>def </x> +
0 commit comments