Questions tagged [updatexml]

30 questions
0
votes
1 answer

Changing namespace position in XML between elements

Source XML
center
2023-01-06T09:42:11-06:00 Houston
serial number…
PI2004
  • 3
  • 1
0
votes
1 answer

MySQL UpdateXML fails when run from command line

I need to update xml in a mysql table from a bash script so when I try this from the command line: mysql -uadmin -p**** -h127.0.0.1 db -e "UPDATE my_table set my_field = updatexml(my_field, '/config/properties/property[@name="search_property"]',…
0
votes
1 answer

Oracle updatexml throws pga memory on high volume data

I’m using the below updatexml function to update an Xmltype column scrambling for many tables using procedure. Some tables have huge volume of data for those update is failed with PGA memory issue Command as follows: Update table_name set XMLRECORD…
0
votes
0 answers

Oracle Memory error while using updatexml on xmltype column with more than 1 million rows

I have a script to update the xmltype specific nodes as part of masking the data. While running the update using updatexml function of Xmltype column getting memory error in oracle. Update table1 set xmlcolum =…
0
votes
1 answer

build every group of data and add them to the rendered XML page using xmlbuilder2

I'm using xmlbuilder2 node module to build the retrieved data and render them into XML page. when the data is very big I got this error FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory I was…
0
votes
1 answer

how to update a column containing xml in mysql table?

I have a table with columns ID, XML where the XML column contains xml string. The xml is in the flowing form: key value ... I need to find and remove all the elements in the…
user1796624
  • 3,665
  • 7
  • 38
  • 65
0
votes
1 answer

Scrambling the data for dev environment after refresh to hide/mask the sensitive data

I am working on some scripts to scramble the data from specific columns. I am not very good in scripting but still some how managed to write the code with the help from stackflow Q&A this table has xml column so I want to replace data from xml…
0
votes
1 answer

Oracle SQL UPDATEXML Replace node value even if it's empty

I have one CLOB database column which contain a big XML : XML_CONF I usually use the function updateXML to modify specific node of the XML, it works great. But today, I have a lot of trouble with it, because the nodes I want to modify are sometimes…
user2178964
  • 124
  • 6
  • 16
  • 40
0
votes
1 answer

Updating CLOB XML through updatexml

I have one tag in my table having clobe xml data like as below: I need to update this value to 400. I am doing it as below. But its not updating. Please help. UPDATE XYZ SET request_xml = UPDATEXML(xmltype(request_xml), …
Rahul
  • 29
  • 1
  • 10
0
votes
1 answer

Oracle UpdateXML not accepting a valid xPath

I have an XML in XMLTYPE column, that looks like the following: DocType
Carmageddon
  • 2,627
  • 4
  • 36
  • 56
0
votes
1 answer

updatexml for particular rows only

Context: I want to increase the allowance value of some employees from £1875 to £7500, and update their balance to be £7500 minus whatever they have currently used. My Update statement works for one employee at a time, but I need to update around…
DanBot
  • 121
  • 9
0
votes
2 answers

How can I update children, grouped with id "X", using simpleXML

I am new to simplexml so forgive me if I get some terms mixed up :) I have the following xml file stored at: js/data.xml: 2011 12 29 Senior Developer
Maurice
  • 1,147
  • 2
  • 21
  • 49
0
votes
2 answers

MySQL UpdateXML with automatic node inserting?

I am writing an application that supports custom fields. Currently I store all custom fields in a XML formated text field ( e.g. 'val1val2' in cust_field) I am able to to use updateXML(cust_field,…
JimPsr
  • 1
  • 1
0
votes
2 answers

Update xml node in assets

I have an android application which I am trying to change a node value. Below I can take xml file from assets folder and get the specific node I want. InputStream in_s =…
MCanSener
  • 53
  • 9
-1
votes
3 answers

Update existing XML file in C#

I tried to update this small xml example file without success. It is not giving me any error but the file remains unchanged. Any ideas ? Thanks XML Sample: John Doe Jane Doe C# Code XmlDocument doc =…
Thomas
  • 69
  • 2
  • 11
1
2