Questions tagged [xml]
XML is Extensible Markup Language, a markup language. A markup language is a way to enter information into a text format that can be easily identified as not being part of the content, but rather instructions on how the content should be treated.
528
questions
0
votes
1
answer
1k
views
How can I copy Chrome's formatting of XML with Ctrl+V or otherwise?
If I open an XML file in Chrome, I get a nice visual. I want to somehow copy this formatting to other programs like OneNote. It never copies the format/color though. Anything I can do to get it? ...
0
votes
0
answers
263
views
Decrypting Files Copied from Dell Encrypted Thumb Drive
I am attempting to decrypt files I copied from my thumbdrive, which my Dell laptop encrypted.
First, I encrypted the thumb drive with my Dell laptop and then I added image files to it. That part went ...
0
votes
1
answer
4k
views
Import XML or JSON data into Excel using URL from a cell
I have an API call to make from my Excel spreadsheet that will have various parameters depending on the data entered in the spreadsheet.
I have formatted the URL properly and have it in a cell that is ...
0
votes
0
answers
26
views
How does the text formatting or styling defined by Open Office XML get rendered on the screen?
My understanding of the Office Open XML standard used in word processing is, that it's a set of rules for how to display an office document. So documents look the same on all devices and multiple ...
0
votes
0
answers
201
views
How can I diff the contents of an XML file and a PDF?
At work, editors create books in XML which is then imported into Indesign and then archived as PDFs of the final print copy. Additional edits are made directly to InDesign and final PDF during proofs ...
2
votes
1
answer
3k
views
How can I get notepad++ highlighting working for powershell using the Twilight theme?
So I got started by manually importing the powershell lexertype from stylers.xml to twilight.xml. I knew to do that much. However after going through and matching the coloring as close as i could to ...
0
votes
1
answer
632
views
Where is the date of last change in the XML files of a DOCX?
I've unzipped a DOCX-document and am looking for the date or time for the file's last change.
I've tried using command line tools like grep but to no avail.
When I upload the DOCX-file to Google Docs, ...
1
vote
2
answers
3k
views
How to remove all tags in XML file to display only desired text
What command would I use to remove all tags to display only what I want shown. There are hundreds of entries, only want to display the --name-- tag. Here is an example of a single entry.
Original Line
...
1
vote
1
answer
11k
views
Why user accounts do "not have permission to run this task"?
I am creating a Scheduled task configured via PowerShell using the XML:
$LogonTask_xml = @"
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" ...
0
votes
1
answer
851
views
Retrieve European Central Bank currency rates XML into LibreOffice Calc cells
The premise is to retrieve current currency rates into a Libre/OpenOffice Calc spreadsheet. Previously I did it using a JSON service, with manual tweaking of substrings, which isn't all that user-...
1
vote
1
answer
847
views
Replace attribute of XML parent node with values from child node
I have an xml file where I want to replace text in a parent node with some text from the child node. This is an example xml:
<output name="Element_152">
<field name="NAME&...
0
votes
1
answer
54
views
XML - What is the difference in use and function between e.g. <person name="JohnDoe"></person> and <person>JohnDoe</person>?
Ive seen the first one with multiple attributes in one bracket (e.g. <person name="JohnDoe" age="25">), but i dont quite understand what exactly the difference between is, ...
0
votes
0
answers
132
views
Make sure you typed the name correctly. and then try again. After using unattend.xml on when sysprep
After using unattend.xml on when Sysprep I'm using VMware workstation to create Windows 8.1 Pro image (install.wim) and using untattend.xml to copy profile settings to all new users.
I make ...
0
votes
2
answers
4k
views
How to extract .xml file from .docx?
I recently learned that I can extract an .xml file from a .docx by renaming the file to .zip and opening the .zip file.
However, when I do this, I just get .docx document again. I'm not sure what I am ...
0
votes
2
answers
1k
views
Taskbar apps keep reappearing on start up despite unpinning them on Windows 10
Every time I boot my computer on Windows 10, Microsoft Word and Excel keep being pinned on the taskbar despite me having unpinned them before signing out.
I've tried changing the xml file located in %...
1
vote
0
answers
597
views
print XPath for match using xmlstarlet?
I would like to iterate over many xml files to fix outdated configuration entries by getting all matches and replacing then in a second step every entry by updated strings (multiline scripts in this ...
0
votes
1
answer
217
views
Editing XML but prevent changing XML structure?
Is it at all possible to prevent users from changing the XML structure in a file, but only enter/modify data?
There is nothing in XSD Restrictions/Facets that specifies this.
I have seen this SO ...
1
vote
1
answer
267
views
Blocking a shortcut in Windows 10
How can I block the "Ctrl" and "-" shortcut in Windows 10. This shortcut in the sales application that I deal with on a daily basis creates a hidden US special character that ...
2
votes
1
answer
3k
views
Create Scheduled Task xml file with batch file
I'm trying to make a batch file that creates an xml file then imports that file into scheduled tasks, plus a few other things. I know how to import the xml and do everything else I need, but I can't ...
1
vote
1
answer
262
views
Proxy to transform an XML body of an http request?
I have a calling system that I cannot easily change. It sends an http request (actually SOAP) with two elements in the wrong order.
This is easy to fix with an XSL transform.
I'd like to implement a ...
0
votes
1
answer
982
views
Trying to parse a string that I generate in a batch file into a few values of an XML file
I'm trying to create V2 of my little batch file. I only know batch , so I'd prefer to do this if possible instead of powershell but if I have to, I have to.
The app just copies five files that are the ...
0
votes
1
answer
2k
views
Docx file from an XML file of docx
I was just wondering if there's any way to generate a docx file with a given XML file of a docx.I have been able to perform the reverse process i.e. getting the XML of a docx file as they are zipped ...
3
votes
1
answer
8k
views
How do I force Firefox to download an .xml file instead of opening it?
I am using Firefox 83.0(64-bit) on a Windows 10 PC. I am trying to download an .xml file instead of opening it as a browser page. However, Firefox keeps opening it in the browser. I have tried:
Going ...
1
vote
1
answer
1k
views
Incremental number for certain tags in XML Notepad++
I have an XML file with following data
<Shipment>
<ShipmentReference>1453464536</ShipmentReference>
<ShipmentCode>2020IE</ShipmentCode>
</Shipment>
<Shipment&...
1
vote
1
answer
322
views
Find and Replace XML tag in np++ to specific details
I have a XML file with following data
<Shipment>
<Shipper>
<Name>Clothes</Name>
<Address1>Apparel Street</Address1>
<Country>GB</Country>
</...
0
votes
1
answer
790
views
Task Scheduler XML InteractiveToken Always Ignored No Matter What
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>...
2
votes
2
answers
290
views
Addings tags to xml and change their values incrementally
I have an xml-data, which contains a lot of different tags. The structure is like this:
<category>
<lesson>
<textfilecard orderID="0">
<Question></...
0
votes
1
answer
884
views
How to save and rename XML file automatically based on its object name [closed]
I have a hundreds XML files but with a random file names.
They named like this:
Bt_01.XML
Bt_02.XML
Bt_03.XML
Bt_04.XML
But they supposed to named like this:
Button_Accessories.XML
Button_Menu01....
2
votes
2
answers
5k
views
VirtualBox Won't Start (Failed to acquire the VirtualBox COM object)
I recently started virtualbox and it gave me this error:
virtualbox error part 1
virtualbox error part 2
Failed to acquire the VirtualBox COM object.
The application will now terminate.
Document is ...
1
vote
1
answer
203
views
Notepad++ XML - Delete Tags Conditionally Based on Child Tag Content not containing certain content
I've got a large xml file where i need to remove some child elements if they do not contain the right start of a the content of a nested child element.
My xml file looks like this:
<product>
...
1
vote
0
answers
56
views
How to associate a Windows program to open a file based on extension AND CONTENT?
Is there a way to associate a Windows program to open a file based not only on extension, but also on its content?
Reasonable use case
Many programs use the XML format to store their files. I'd like ...
8
votes
2
answers
31k
views
How do I send a digest auth request using curl?
While searching for a guide I found this example on Wikipedia
GET /dir/index.html HTTP/1.0
Host: localhost
Authorization: Digest username="Mufasa", realm="[email protected]", ...
2
votes
3
answers
9k
views
How do I filter an XML file to find all of one type of tag with any invalid values?
I was messing around with notepad++, but seem to find an easy way to do this. I think grep might work, but I an not totally sure how.
I have a file, that has certain tags, I want to find all of the ...
2
votes
1
answer
127
views
Cannot replicate documentation example on scheduling a task with Schtasks.exe using an XML file
Summary
I am following the examples of the official Microsoft documentation regarding using the task scheduler to create a task that is defined in XML. My objective is to implement the example of ...
0
votes
2
answers
1k
views
Why UPNP gives me error 501 even thought the Curl request I sent is correct?
i am trying to use the UPNP on my router but keeps giving me the 501 error
the command i am using
curl "192.168.1.1:52869/control/igd/devinfo" --header "SOAPAction: urn:dslforum-org:...
0
votes
2
answers
460
views
How do I delete characters after 10th character from xml tags Notepad++?
I have a xml file with repeated xml tags where I want to trim the string length to 10 characters
Data:
<Item>
<ItemNumber>1</ItemNumber>
<Description>Lorem Ipsum Lorem Ipsum<...
0
votes
0
answers
142
views
SQL Server XML field
I have an XML field in a database that stores the XML response from a service.
Every now and then, the service times out and what actually gets stored in the XML field is a non-XML value "Time ...
1
vote
1
answer
6k
views
Can't open Xmls with edge on Windows 10
I cannot open XML files with Edge by double clicking on them, despite Edge being set as standard program for XMLs. The only thing that happens is that the cursor switches to the "wait cursor" for a ...
0
votes
0
answers
79
views
XML to Excel and vice-versa
First of all, I am really not quite familiar with XML data, I mean I didn't work with them. I just got a question if I can do something with them using Excel, try to automate some things.
I could ...
0
votes
1
answer
1k
views
Write the output of xmllint to a log file, how?
With xmllint I check all XML files in the folder and if xmllint finds an invalid XML file there is an output.
My question: how can I write this output to a log file?
I found this command on the ...
1
vote
1
answer
1k
views
notepad++ regex duplicate xml text on each line
I need to process a xml file, in which a certain text has to be inserted (duplicated) - see the following, for an example:
<Item Property1="..." ... PropertyN="someText"></Item>
How I ...
0
votes
2
answers
1k
views
Can't open this Config.xml file which is from my router
I have a D-link DSL-2750U router and under the Management section there is a option called "Backup my settings". When you click on it it'll download a file called config.xml. When i try to open the ...
0
votes
1
answer
557
views
Extract specific values from xml format to a comma separated value format (csv) with Notepad++
I need to extract specific values from XML format to a comma-separated value format (CSV) with Notepad++
The XML source file looks like:source file
GRID id="301019" x="**328.217224**" y="**543....
3
votes
1
answer
2k
views
How to delete a folded XML node (and all child nodes) in NotePad++
In the XML example below, lines 8-13 are folded.
Is there a quick way to delete lines 8-13 when folded?
If I select and delete line 8, then lines 9-13 are still there, and the only way I know to get ...
0
votes
2
answers
2k
views
Use Excel Power Query to return multiple values from XML files
I have about 50 XML files that are structured the same. I want to extract multiple values from each one, with the values being in different "rows" of the XML table.
Right now, I'm able to use Power ...
4
votes
1
answer
2k
views
Native XML Viewers in Firefox and Chrome unable to parse XML + XHTML
I'm generally pretty happy with the native XML Viewer in Firefox.
It displays valid XML files (like the one below) clearly and helpfully.
Example of XML:
<?xml version="1.0" encoding="UTF-8"?>...
1
vote
4
answers
4k
views
Where are screen saver (.scr) configuration settings stored?
I found a Ken Burns Slideshow app in sourceforge I really like. To change settings, an .xml file is created the first time it is run if the .xml file is not located in the same directory. I changed ...
0
votes
1
answer
5k
views
Why does Chrome try to download/save xml file served from gatsby on localhost, rather than display in browser if '.xml' suffix missing from filename?
This is a question about how a web server handles requests for XML files, depending on if the file has a '.xml' suff
I'm working with Gatsby. Developing on localhost.
I have an xml file/resource that ...
1
vote
1
answer
257
views
Interpreting SFTP success - WinSCP - XML log file
I have a BAT script on Windows 10 that invokes winscp.com and uploads a single file to SFTP server on the Internet. I log the result in an XML file. The output when the transfer is successful for a ...
0
votes
1
answer
1k
views
DTD or XSD for XML attribute where enumeration list includes null
My goal/question is to understand how to create DTD or Schema for XML where an enumeration of values for an attribute can include null as a valid value.
The W3C spec for XML defines attribute ...