Code: Select all
<Row ss:Index="76" ss:AutoFitHeight="0" ss:Height="179">
<Cell ss:Index="1" ss:MergeAcross="2" ss:StyleID="s04">
<ss:Data xmlns="http://www.w3.org/TR/REC-html40" ss:Type="String">
<Font html:Size="10" html:Face="Arial" x:Family="Swiss" html:Color="#000000">0</Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">958 </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">INT 1336</Font>
</ss:Data>
</Cell>
<Cell ss:Index="4" ss:MergeAcross="12" ss:StyleID="s04">
<ss:Data xmlns="http://www.w3.org/TR/REC-html40" ss:Type="String">
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">
International Chart Series, Baltic Sea - Sweden and Denmark, Bornholmsgat.
</Font>
<Font html:Size="9" html:Face="Arial" x:Family="Swiss" html:Color="#000000">A </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">Christiansø. </Font>
<Font html:Size="9" html:Face="Arial" x:Family="Swiss" html:Color="#000000">B </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">Rønne. </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">
55° 05´·03 N. — 55° 06´·42 N., 14° 40´·57 E. — 14° 42´·03 E.
</Font>
<Font html:Size="9" html:Face="Arial" x:Family="Swiss" html:Color="#000000">C </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">Nexø. </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">
<I>Includes</I>
<I> </I>
<I>changes</I>
<I> </I>
<I>to</I>
<I> </I>
<I>depths,</I>
<I> </I>
<I>wrecks,</I>
<I> </I>
<I>restricted</I>
<I> </I>
<I>areas,</I>
<I> </I>
<I>extraction</I>
<I> </I>
<I>areas</I>
<I> </I>
<I>and</I>
<I> </I>
<I>aids</I>
<I> </I>
<I>to</I>
<I> </I>
<I>navigation.</I>
<I> </I>
<I>The</I>
<I> </I>
<I>limits</I>
<I> </I>
<I>of</I>
<I> </I>
<I>panel</I>
<I> </I>
<I>B</I>
<I> </I>
<I>have</I>
<I> </I>
<I>been</I>
<I> </I>
<I>changed</I>
<I> </I>
<I>to</I>
<I> </I>
<I>provide</I>
<I> </I>
<I>improved</I>
<I> </I>
<I>coverage</I>
<I> </I>
<I>of</I>
<I> </I>
<I>Rønne.</I>
<I> </I>
<I>(A</I>
<I> </I>
<I>modified</I>
<I> </I>
<I>reproduction</I>
<I> </I>
<I>of</I>
<I> </I>
<I>INT1336</I>
<I> </I>
<I>published</I>
<I> </I>
<I>by</I>
<I> </I>
<I>Denmark.)</I>
</Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">
<I>Note:</I>
<I> </I>
On publication of this New Edition former Notice 6042(P)/17 is cancelled.
</Font>
</ss:Data>
</Cell>
<Cell ss:Index="17" ss:MergeAcross="5" ss:StyleID="s04">
<ss:Data xmlns="http://www.w3.org/TR/REC-html40" ss:Type="String">
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">1:100,000 </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">1:12,500 </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">1:12,500 </Font>
<Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">1:8,000</Font>
</ss:Data>
</Cell>
<Cell ss:Index="23" ss:MergeAcross="3" ss:StyleID="s02">
<ss:Data xmlns="http://www.w3.org/TR/REC-html40" ss:Type="Number">10</ss:Data>
</Cell>
<Cell ss:Index="27" ss:MergeAcross="5" ss:StyleID="s02">
<ss:Data xmlns="http://www.w3.org/TR/REC-html40" ss:Type="Number">34</ss:Data>
</Cell>
</Row>
Code: Select all
FileRead, InputText, PWKLY 30_week30_2018.xml
Pos=1
While Pos := RegExMatch(InputText, "Us)<Row.*</Row>", RawData, Pos+StrLen(RawData))
{
If A_Index = 76 ;not needed if you are only using a small section of code
{
RawData := StrReplace(RawData, "<Font html:Size=""10"" html:Face=""Arial"" x:Family=""Swiss"" html:Color=""#000000"">0</Font>", "")
RawData := StrReplace(RawData, "</Font>", "`r`n")
RawData := StrReplace(RawData, "</ss:Data>", "`r`n")
RawData := StrReplace(RawData, " ", "")
RawData := RegExReplace(RawData, "U)<.*>", "")
FileAppend, % RawData, Text%A_Index%.txt
}
}
Code: Select all
958
INT 1336
International Chart Series, Baltic Sea - Sweden and Denmark, Bornholmsgat.
A
Christiansø.
B
Rønne.
55° 05´·03 N. — 55° 06´·42 N., 14° 40´·57 E. — 14° 42´·03 E.
C
Nexø.
Includes changes to depths, wrecks, restricted areas, extraction areas and aids to navigation. The limits of panel B have been changed to provide improved coverage of Rønne. (A modified reproduction of INT1336 published by Denmark.)
Note: On publication of this New Edition former Notice 6042(P)/17 is cancelled.
1:100,000
1:12,500
1:12,500
1:8,000
10
34
#: 958 INT#: 1336
Title: International Chart Series, Baltic Sea - Sweden and Denmark, Bornholmsgat. Scale: 1:100,000
Plan: A Title: Christiansø. Limits: (null) Scale: 1:12,500
Plan: B Title: Rønne. Limits: 55° 05´·03 N. — 55° 06´·42 N., 14° 40´·57 E. — 14° 42´·03 E. Scale: 1:12,500
Plan: C Title: Nexø. Limits: (null) Scale: 1:8,000
Remark 1: Includes changes to depths, wrecks, restricted areas, extraction areas and aids to navigation. The limits of panel B have been changed to provide improved coverage of Rønne. (A modified reproduction of INT1336 published by Denmark.)
Remark 2: Note: On publication of this New Edition former Notice 6042(P)/17 is cancelled.
Folio: 10
Page: 34
Any suggestions or hints welcome. Thanks
PS #BlameAdobe for the silly format of the xml and the repetitive Italics