Hallo,
Ik heb me al een beetje verdiept in XML. Echter ik heb een opdracht gekregen om een invoerscherm (dialogbox) in XML formaat die er als volgt uitziet:
<!-- dialogid=10017832 mnemonic=EPDGB file=C:\tmp\DCCEPD\epdgb.xml -->
<DIALOGS>
<DIALOG>
<name>EPDGB</name>
<POSITION>
<x>0</x>
<y>0</y>
<w>341</w>
<h>61</h>
<units>Dialog</units>
</POSITION>
<STYLES>
<style>Caption</style>
<style>SystemMenu</style>
<style>MinimizeBox</style>
<style>MaximizeBox</style>
<style>Resizable</style>
<style>Absolute</style>
</STYLES>
<caption>EPD Gebruiker</caption>
<FONT>
<name>MS Sans Serif</name>
<size>8</size>
</FONT>
<!-- <icon> EPDGB </icon> -->
<CONTROLS>
<CONTROL>
<type>Borshade</type>
<STYLES>
<style>Visible</style>
<style>Group</style>
<style>Border</style>
<style>Etched</style>
</STYLES>
<POSITION>
<x>5</x>
<y>1</y>
<w>288</w>
<h>56</h>
<units>Dialog</units>
</POSITION>
<SCALING>
<scalable>XY</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<caption>EPD Gebruiker</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>119</x>
<y>1</y>
<w>61</w>
<h>9</h>
<units>Dialog</units>
</POSITION>
<COLOR>
<foreground>white</foreground>
<background>blue</background>
</COLOR>
<FORMAT>
<alignment>Center</alignment>
</FORMAT>
<SCALING>
<scalable>X</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<type>BorShade</type>
<STYLES>
<style>Visible</style>
<style>Group</style>
<style>Border</style>
<style>Etched</style>
</STYLES>
<POSITION>
<x>10</x>
<y>14</y>
<w>276</w>
<h>39,5</h>
<units>Dialog</units>
</POSITION>
<SCALING>
<scalable>XY</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<caption>Gebruiker:</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>37</x>
<y>24</y>
<w>43</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<FORMAT>
<alignment>Right</alignment>
</FORMAT>
</CONTROL>
<CONTROL>
<caption>EPD mnemonic:</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>22</x>
<y>34</y>
<w>58</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<FORMAT>
<alignment>Right</alignment>
</FORMAT>
</CONTROL>
<CONTROL>
<name>R01</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
<style>AutoHScroll</style>
<style>Mandatory</style>
<style>AutoStart</style>
<style>AutoExit</style>
</STYLES>
<POSITION>
<x>84</x>
<y>24</y>
<w>32</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>8</length>
<transport>8</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R02</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>AutoHScroll</style>
<style>ReadOnly</style>
</STYLES>
<POSITION>
<x>124</x>
<y>24</y>
<w>80</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>20</length>
<transport>20</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
<flag>NoBrowse</flag>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R03</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
<style>AutoHScroll</style>
<style>Mandatory</style>
<style>AutoStart</style>
<style>AutoExit</style>
</STYLES>
<POSITION>
<x>84</x>
<y>34</y>
<w>33</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>8</length>
<transport>8</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R04</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>AutoHScroll</style>
<style>ReadOnly</style>
</STYLES>
<POSITION>
<x>124</x>
<y>34</y>
<w>80</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>20</length>
<transport>20</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
<flag>NoBrowse</flag>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<caption>OK</caption>
<name>OK</name>
<type>button</type>
<id>OK</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>5</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnValidate</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nals u klaar bent met invoeren\nen de gegevens wilt verwerken</tooltip>
</CONTROL>
<CONTROL>
<caption>Sluiten</caption>
<name>Close</name>
<type>button</type>
<id>Clo</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>23</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnAutoStart</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nom de dialoog te sluiten,\nzonder te verwerken</tooltip>
</CONTROL>
<CONTROL>
<caption>Inzage...</caption>
<name>Browse</name>
<type>button</type>
<id>Bws</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>23</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>On</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
</CONTROL>
<CONTROL>
<caption>Help</caption>
<name>Help</name>
<type>button</type>
<id>Hlp</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>43</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnAutoStart</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nom informatie te krijgen\nover deze dialoog</tooltip>
</CONTROL>
</CONTROLS>
<TOOLBAR>
<CONTROL>
<name>Close</name>
<icon>K_EXIT</icon>
<type>Button</type>
</CONTROL>
<CONTROL>
<type> Separator </type>
<POSITION>
<w>4</w>
<units> Dialog </units>
</POSITION>
</CONTROL>
<CONTROL>
<name>Help</name>
<icon>K_HELPX</icon>
<type>Button</type>
</CONTROL>
</TOOLBAR>
</DIALOG>
</DIALOGS>
Ik kom er maar niet achter hoe ik deze dialogbox zou kunnen omzetten naar HTML gebruikmakend van XSL. Kan iemand me hiermee helpen?
Ik heb me al een beetje verdiept in XML. Echter ik heb een opdracht gekregen om een invoerscherm (dialogbox) in XML formaat die er als volgt uitziet:
<!-- dialogid=10017832 mnemonic=EPDGB file=C:\tmp\DCCEPD\epdgb.xml -->
<DIALOGS>
<DIALOG>
<name>EPDGB</name>
<POSITION>
<x>0</x>
<y>0</y>
<w>341</w>
<h>61</h>
<units>Dialog</units>
</POSITION>
<STYLES>
<style>Caption</style>
<style>SystemMenu</style>
<style>MinimizeBox</style>
<style>MaximizeBox</style>
<style>Resizable</style>
<style>Absolute</style>
</STYLES>
<caption>EPD Gebruiker</caption>
<FONT>
<name>MS Sans Serif</name>
<size>8</size>
</FONT>
<!-- <icon> EPDGB </icon> -->
<CONTROLS>
<CONTROL>
<type>Borshade</type>
<STYLES>
<style>Visible</style>
<style>Group</style>
<style>Border</style>
<style>Etched</style>
</STYLES>
<POSITION>
<x>5</x>
<y>1</y>
<w>288</w>
<h>56</h>
<units>Dialog</units>
</POSITION>
<SCALING>
<scalable>XY</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<caption>EPD Gebruiker</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>119</x>
<y>1</y>
<w>61</w>
<h>9</h>
<units>Dialog</units>
</POSITION>
<COLOR>
<foreground>white</foreground>
<background>blue</background>
</COLOR>
<FORMAT>
<alignment>Center</alignment>
</FORMAT>
<SCALING>
<scalable>X</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<type>BorShade</type>
<STYLES>
<style>Visible</style>
<style>Group</style>
<style>Border</style>
<style>Etched</style>
</STYLES>
<POSITION>
<x>10</x>
<y>14</y>
<w>276</w>
<h>39,5</h>
<units>Dialog</units>
</POSITION>
<SCALING>
<scalable>XY</scalable>
<anchor>TopLeft</anchor>
</SCALING>
</CONTROL>
<CONTROL>
<caption>Gebruiker:</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>37</x>
<y>24</y>
<w>43</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<FORMAT>
<alignment>Right</alignment>
</FORMAT>
</CONTROL>
<CONTROL>
<caption>EPD mnemonic:</caption>
<type>Static</type>
<STYLES>
<style>Visible</style>
</STYLES>
<POSITION>
<x>22</x>
<y>34</y>
<w>58</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<FORMAT>
<alignment>Right</alignment>
</FORMAT>
</CONTROL>
<CONTROL>
<name>R01</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
<style>AutoHScroll</style>
<style>Mandatory</style>
<style>AutoStart</style>
<style>AutoExit</style>
</STYLES>
<POSITION>
<x>84</x>
<y>24</y>
<w>32</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>8</length>
<transport>8</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R02</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>AutoHScroll</style>
<style>ReadOnly</style>
</STYLES>
<POSITION>
<x>124</x>
<y>24</y>
<w>80</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>20</length>
<transport>20</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
<flag>NoBrowse</flag>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R03</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
<style>AutoHScroll</style>
<style>Mandatory</style>
<style>AutoStart</style>
<style>AutoExit</style>
</STYLES>
<POSITION>
<x>84</x>
<y>34</y>
<w>33</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>8</length>
<transport>8</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<name>R04</name>
<type>PhoenixEdit</type>
<index>0</index>
<STYLES>
<style>Visible</style>
<style>AutoHScroll</style>
<style>ReadOnly</style>
</STYLES>
<POSITION>
<x>124</x>
<y>34</y>
<w>80</w>
<h>8</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<FORMAT>
<length>20</length>
<transport>20</transport>
<decimals>0</decimals>
</FORMAT>
<VALIDATION_TYPES>
</VALIDATION_TYPES>
<PROCESSINGFLAGS>
<flag>NoBrowse</flag>
</PROCESSINGFLAGS>
</CONTROL>
<CONTROL>
<caption>OK</caption>
<name>OK</name>
<type>button</type>
<id>OK</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>5</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnValidate</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nals u klaar bent met invoeren\nen de gegevens wilt verwerken</tooltip>
</CONTROL>
<CONTROL>
<caption>Sluiten</caption>
<name>Close</name>
<type>button</type>
<id>Clo</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>23</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnAutoStart</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nom de dialoog te sluiten,\nzonder te verwerken</tooltip>
</CONTROL>
<CONTROL>
<caption>Inzage...</caption>
<name>Browse</name>
<type>button</type>
<id>Bws</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>23</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>On</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
</CONTROL>
<CONTROL>
<caption>Help</caption>
<name>Help</name>
<type>button</type>
<id>Hlp</id>
<STYLES>
<style>Visible</style>
<style>Tabstop</style>
</STYLES>
<POSITION>
<x>297</x>
<y>43</y>
<w>40</w>
<h>14</h>
<units>Dialog</units>
</POSITION>
<COLOR>
</COLOR>
<PROCESSINGFLAGS>
<flag>OnAutoStart</flag>
</PROCESSINGFLAGS>
<FORMAT>
</FORMAT>
<tooltip>Druk op deze knop,\nom informatie te krijgen\nover deze dialoog</tooltip>
</CONTROL>
</CONTROLS>
<TOOLBAR>
<CONTROL>
<name>Close</name>
<icon>K_EXIT</icon>
<type>Button</type>
</CONTROL>
<CONTROL>
<type> Separator </type>
<POSITION>
<w>4</w>
<units> Dialog </units>
</POSITION>
</CONTROL>
<CONTROL>
<name>Help</name>
<icon>K_HELPX</icon>
<type>Button</type>
</CONTROL>
</TOOLBAR>
</DIALOG>
</DIALOGS>
Ik kom er maar niet achter hoe ik deze dialogbox zou kunnen omzetten naar HTML gebruikmakend van XSL. Kan iemand me hiermee helpen?
AULXJMHR