Hello,
As everyone one time or another you have to get your feet wet.
I have a media player in wich I can bulid an XML table and set variables in, wich will look like below, I would like to be able to put in some code instead of the f the varible ex:a1, a2, a3 and so on to be able to get information from an MySQL server, is that possible to work out??
Code:<?xml version="1.0" encoding="utf-8"?> <Program xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <version>2.0</version> <name>stonhead</name> <duration>86400</duration> <width>1920</width> <height>1080</height> <degree>0</degree> <isPlayerInfinite>False</isPlayerInfinite> <frames> <frame> <name>Frame1</name> <duration>86400</duration> <layouts> <fontSize>40,8</fontSize> <alignment>0</alignment> </box> <box> <boxType>0</boxType> <x>13,3407407407408</x> <y>60,0333333333334</y> <width>432,346268239361</width> <height>30</height> <fontColor>#FF000000</fontColor> <bgColor>#00C0C0C0</bgColor> <maxLength>21</maxLength> <variable>a1</variable> <alignment>0</alignment> </box> <box> <boxType>0</boxType> <x>450,585185185185</x> <y>60,0333333333332</y> <width>617,637526056231</width> <height>30</height> <fontColor>#FF000000</fontColor> <bgColor>#00C0C0C0</bgColor> <maxLength>30</maxLength> <variable>a2</variable> <alignment>0</alignment> </box> <box> <boxType>0</boxType> <x>1070,59444444444</x> <y>60,3685185185185</y> <width>308,818763028115</width> <height>30</height> <fontColor>#FF000000</fontColor> <bgColor>#00C0C0C0</bgColor> <maxLength>15</maxLength> <variable>a3</variable> <alignment>0</alignment> </box> <box> <boxType>0</boxType> <items /> </layer> </layers> <nonOverlapRange> <columnDefinitions /> <rowDefinitions /> <layers /> <splitters /> </nonOverlapRange> </layout> </layouts> </frame> </frames> </Program>



Reply With Quote

Bookmarks