Skip to main content

All Questions

Tagged with
-2 votes
1 answer
36 views

Notepad++: How to replace a string in the following line when the first string is found in the previous line?

I'm using Notepad++ to edit an XML file, and I'm trying to figure out how to make an edit to multiple records within the file. The problem is, I want to remove a specific string from a following line ...
T. Gore's user avatar
  • 29
1 vote
2 answers
84 views

Different result between notepad++ XML Validation and C# XMLDocument.validate

I'm trying to enforce a uniqueness constraint for a combination of attributes across two elements using an XSD. The constraint works correctly in Notepad++ but not in my C# application. I've added the ...
Maarten Schuurmans's user avatar
0 votes
0 answers
86 views

pound sign is not displaying correctly (showing like "xA3") in xml file generated from java in notepad++

I am generating one xml file from java code where currency symbol "£" is showing as xA3 in notepad++ and showing correctly in notepad. Encoding for the file is defined as UTF-8. If i copy ...
Deepti's user avatar
  • 5
0 votes
1 answer
123 views

Invalid schema or missing namespace - XML validation via notepad++

I'm trying to validate an XML file via notepad++, and I'm getting following error: Invalid schema or missing namespace When I investigated further via another XML validator I get following errors: ...
Nick Janssen's user avatar
0 votes
1 answer
105 views

Bulk replace values in XML file through Notepad++

I am trying to do a bulk update where I copy the values of one tag to another but have not had any luck. Would appreciate any help that could be provided! Here is an example of what want to do. Old &...
Matt's user avatar
  • 23
-2 votes
2 answers
65 views

Duplicate line and replace string with Regular Expression

I have an XML file that contains several items. Each item contains a line like this: <path>./filename.zip</path> For each item I need to add another line below like this: <manual>&...
shift's user avatar
  • 13
0 votes
1 answer
73 views

Find and delete all between and including tag only when certain words are within

I have xml files that contain scrolling lyrics for karaoke songs that we are acquiring from another company. I’m in need of removing each <pg> tag that contain multiline phrases like: 8 BAR ...
jeffmic's user avatar
-1 votes
1 answer
60 views

NotePad++ Regex pattern should look for matches within pairs of XML tags

Below is the sample XML string. I want to match from the GROUP tag till the end of the 1st PARENT tag which has a value. But I want to restrict the regex to match only within a pair of <GROUP> &...
AllSolutions's user avatar
  • 1,246
1 vote
0 answers
24 views

Find duplicate elements in xml, then delete itself but still format xml properly [duplicate]

Running a massive xml and don't have access to the code they used to get the information from sql, so I can't parse it from that end. Need to stop repeating elements, but someone still capture all ...
Baron89's user avatar
  • 11
-1 votes
1 answer
59 views

Why i find all OwnerUserId but not parentId?

I want to find in search (in notepad++) all lines which have ParentId="x" in them when i search for : OwnerUserId=".*" than it finds all lines which have ...
breath's user avatar
  • 1
0 votes
1 answer
76 views

How to find all "Parentid" quetsions that a single users posts are connected to?

In an xml data dump of one of the stackexchange sites (like this one) I want to find all the answers a specific user has written and also all the questions they answered I have found all their ...
breath's user avatar
  • 1
0 votes
1 answer
57 views

How to fix NPP autocomplete schema file

I'm working on an Autocomplete NPP file for the DOORS dxl language. There is about 1500 keywords and during editing typos are created that are hard to find. There is no Schema xsd file for the ...
M SW's user avatar
  • 9
0 votes
1 answer
465 views

Linearize specific node of XML/HTML document for vertical editing on Notepad++

In order to easily modify in vertical selection a huge number of cells in the table in one Selection with a vertical paste. (the paste on each line is from a list which has different value on each ...
zeldiy's user avatar
  • 13
-1 votes
2 answers
63 views

Remove all XML parents, and keep the ones with specific children (regular expression)

I'd love to delete every parent that doesn't contain a specific value, such as for example <drawableDictionary>l_njdocklod12</drawableDictionary> Example of XML to work with below: <?...
Radek's user avatar
  • 7
-1 votes
1 answer
493 views

Remove Duplicate XML blocks using Notepad++

I have a large XML file and trying to remove duplicate blocks of XML (keeping the first occurrence only). I have found conflicting posts if using regex can accomplish this in Notepad++ <mms date=&...
user20446145's user avatar

15 30 50 per page
1
2 3 4 5
17