Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
303.Text file splitter -- How to split XMl files from the element <rubrik> to </rubrik>, and provide filenaming for the splitted documents?
User:
prashob -- 2008-12-09
<< 302
304 >>
Hits:
3330
Type:
Text file splitter
Search all
Text file splitter
examples
Description:
How to split XMl files from the element <rubrik> to </rubrik>, and also how to provide filenaming for the splitted documnets?
Input Sample:
<rubrik>
.....
</rubrik>
<rubrik>
.....
</rubrik>
Output Sample:
File 1:
<rubrik>
.....
</rubrik>
*****
File 2:
<rubrik>
.....
</rubrik>
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o to open the xml file
2. select "File->Save As->Save to files -- Split by Paragraph" menu:
Enter Split Naming like: ${BASE}.###.xml
Set "Paragraph Start" to Other: <rubrik>
Set "Paragraph End" to Other: </rubrik>
Click "Next", and Enter result file like "result", and click "Save".
The file will be splitted into result.001.xml, result.002.xml, and so on.
Similar Examples:
How to batch sort csv files by the order of value in the specified column?
(46%)
How to sort a file list by the extension of the filename?
(46%)
How to split each line of csv file into a single file with specified format?
(45%)
How to split a text file by line and rename each file to the line contents?
(44%)
How to split a CSV file with Header according to value of a column?
(44%)
How to split a csv file according to the value of column A?
(44%)
How to split a file into many files by chapters, and use Chapter names as filenames?
(44%)
How to split a CSV file with Header according to value of column B?
(43%)
Check Demo of
Text file splitter
Keywords:
split xml file
split xml files
how to split xml files
how to split xml
how to split xml file
rubrik
xml files
xml
xml file
split naming
xml file splitter
split xml element
split xml file by element
xml splitter
split xml by element
file splitter xml
split xml file rubrik
xml splitter by element