javascript — XML ​​Split & amp; Название решения

Решение XML Split {amp}amp; Name

Мне нужно не только разделить XML-файл, но и иметь имя выходного файла на основе элемента в XML. (мои файлы обычно меньше 10 мб) пример xml

 {amp}lt;Default{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2420{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;602 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;108{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330054{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247618{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330054{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92F5A53F4F204EBB31{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2421{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;604 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;109{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330055{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247619{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330055{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92827A739B64FBF36B{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2422{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;606 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3900{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3900{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3900{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3900{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;110{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.07{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330056{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247620{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330056{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92FF5F6852565D1073{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$103.59{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$32.19{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2423{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;301 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;4100{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;4100{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;4100{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;4100{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;66{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.10{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;0902830096{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247532{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;0902830096{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92E895783D330317BA{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$108.90{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$33.84{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2424{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;309 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3900{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3900{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3900{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3900{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;70{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.07{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330175{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247739{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330175{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A9288F5A4310B2D1B4D{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$103.59{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$32.19{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2425{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;311 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;71{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330174{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247738{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330174{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92A434871565CBB77C{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; По {amp}lt;Default{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2420{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;602 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;108{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330054{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247618{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330054{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92F5A53F4F204EBB31{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2421{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;604 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;109{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330055{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247619{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330055{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92827A739B64FBF36B{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2422{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;606 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3900{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3900{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3900{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3900{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;110{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.07{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330056{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247620{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330056{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92FF5F6852565D1073{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$103.59{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$32.19{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2423{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;301 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;4100{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;4100{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;4100{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;4100{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;66{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.10{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;0902830096{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247532{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;0902830096{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92E895783D330317BA{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$108.90{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$33.84{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2424{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;309 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3900{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3900{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3900{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3900{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;70{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.07{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330175{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247739{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330175{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A9288F5A4310B2D1B4D{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$103.59{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$32.19{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2425{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;311 THEODORA WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;71{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330174{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247738{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330174{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92A434871565CBB77C{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; 

конечный результат, который мне нужен в каждом содержимом выходного файла —

 {amp}lt;Default{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2420{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;602 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;108{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330054{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247618{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330054{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92F5A53F4F204EBB31{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; По {amp}lt;Default{amp}gt; {amp}lt;Item{amp}gt; {amp}lt;ItemID{amp}gt;2420{amp}lt;/ItemID{amp}gt; {amp}lt;PropertyAddress{amp}gt;602 JUDY WAY{amp}lt;/PropertyAddress{amp}gt; {amp}lt;Subdivision{amp}gt;CHESTNUT HILL PRESERVE{amp}lt;/Subdivision{amp}gt; {amp}lt;Owner{amp}gt;TAC CHESTNUT HILL LLC{amp}lt;/Owner{amp}gt; {amp}lt;MunicipalInfo{amp}gt;Unincorporated{amp}lt;/MunicipalInfo{amp}gt; {amp}lt;Land{amp}gt;3700{amp}lt;/Land{amp}gt; {amp}lt;Total{amp}gt;3700{amp}lt;/Total{amp}gt; {amp}lt;Structure{amp}gt;0{amp}lt;/Structure{amp}gt; {amp}lt;Homesite{amp}gt;{amp}lt;/Homesite{amp}gt; {amp}lt;CountyTaxable{amp}gt;3700{amp}lt;/CountyTaxable{amp}gt; {amp}lt;SchoolTaxable{amp}gt;3700{amp}lt;/SchoolTaxable{amp}gt; {amp}lt;Lot{amp}gt;108{amp}lt;/Lot{amp}gt; {amp}lt;PropertyClass{amp}gt;RESIDENTIAL{amp}lt;/PropertyClass{amp}gt; {amp}lt;LotSize{amp}gt;0.05{amp}lt;/LotSize{amp}gt; {amp}lt;ParcelNumber{amp}gt;1100330054{amp}lt;/ParcelNumber{amp}gt; {amp}lt;ScreenShotPage-Overview{amp}gt;http://www3.nccde.org/parcel/Details/Default.aspx?ParcelKey=247618{amp}lt;/ScreenShotPage-Overview{amp}gt; {amp}lt;SaleAmount{amp}gt;$10.00{amp}lt;/SaleAmount{amp}gt; {amp}lt;SaleDate{amp}gt;11/17/2017{amp}lt;/SaleDate{amp}gt; {amp}lt;InputParcelID{amp}gt;1100330054{amp}lt;/InputParcelID{amp}gt; {amp}lt;taxBill{amp}gt;{amp}lt;![CDATA[http://www3.nccde.org/PDFDocument/default.aspx?DocumentID=80:5538A80CA926BC49834398A8F3E7191F27D6313B08EF2B0C462AD31F517C0A92F5A53F4F204EBB31{amp}amp;x=temp.pdf]]{amp}gt;{amp}lt;/taxBill{amp}gt; {amp}lt;Error{amp}gt;{amp}lt;/Error{amp}gt; {amp}lt;BatchID{amp}gt;69633{amp}lt;/BatchID{amp}gt; {amp}lt;ClientName{amp}gt;Ardent Companies{amp}lt;/ClientName{amp}gt; {amp}lt;Countydue{amp}gt;$0.00{amp}lt;/Countydue{amp}gt; {amp}lt;SchoolDue{amp}gt;$0.00{amp}lt;/SchoolDue{amp}gt; {amp}lt;AmountPaid{amp}gt;$98.28{amp}lt;/AmountPaid{amp}gt; {amp}lt;Amount2{amp}gt;$30.54{amp}lt;/Amount2{amp}gt; {amp}lt;/Item{amp}gt; 

Имена выходных файлов должны быть названы ItemID.xml

Если найдены решения, чтобы разделить его, но не назовите его по содержанию Ищете любое программное обеспечение или решение кода. Спасибо!

Понравилась статья? Поделиться с друзьями:
JavaScript & TypeScript
Adblock
detector