以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 XML基础 』  (http://bbs.xml.org.cn/list.asp?boardid=1)
----  怎么产生一个和电脑同步时间!!!急求帮助  (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=56583)


--  作者:qiuyi_22
--  发布时间:12/10/2007 5:37:00 PM

--  怎么产生一个和电脑同步时间!!!急求帮助
代码是这样的
我想在这里面加一个代码可以产生和电脑同步的时间,请各高手请教
<?xml version="1.0" ?>
<template invert="260" lang="hr_HR">
<dynamic>
<image src="templates/images/jinqu.jpg" x="60" y="-370" width="460"/>
<image src="templates/images/jinqu.jpg" x="60" y="-100" width="460"/>
<image src="templates/images/jinqu.jpg" x="60" y="230" width="460"/>
<format type="barcode" var="barcode_text" value="code39" out="barcode" />

<font name="free3of9"/>
<text value="$barcode" x="330" y="-130" size="25" />
<font name="Helvetica"/>
<text value="$barcode_text" x="365" y="-115" size="12"/>

<font name="free3of9"/>
<text value="$barcode" x="330" y="-400" size="25" />
<font name="Helvetica"/>
<text value="$barcode_text" x="365" y="-385" size="12"/>
<font name="free3of9"/>
<text value="$barcode" x="330" y="185" size="25" />
<font name="Helvetica"/>
<text value="$barcode_text" x="365" y="200" size="12"/>


</dynamic>

<static>
<line_style width="1"/>
<line x1="70" y1="30" x2="510" y2="30"/>
<line x1="70" y1="230" x2="510" y2="230"/>
<partellipse x="70" y="60" a1="180" a2="90" r1="30" nseg="10" />
<partellipse x="510" y="60" a1="0" a2="90" r1="30" nseg="10" />
<partellipse x="70" y="200" a1="180" a2="270" r1="30" nseg="10" />
<partellipse x="510" y="200" a1="270" a2="360" r1="30" nseg="10" />
<line x1="40" y1="60" x2="40" y2="200"/>
<line x1="540" y1="60" x2="540" y2="200"/>


<line_style width="1" dash="5"/>
<line x1="0" y1="250" x2="600" y2="250"/>
<line_style width="1"/>

<line_style width="1" dash="5"/>
<line x1="0" y1="-60" x2="600" y2="-60"/>
<line_style width="1"/>

<line_style width="1" dash="5"/>
<line x1="0" y1="-300" x2="600" y2="-300"/>
<line_style width="1"/>


<font name="Helvetica"/>
<text value="NO:1 " x="80" y="210" size="12" style="bold"/>
<text value="NO:3 " x="80" y="-375" size="12" style="bold"/>
<text value="NO:2  " x="80" y="-105" size="12" style="bold"/>
<text value="RMB:30.00" x="380" y="85" size="18" style="bold"/>
<text value="RMB:30.00" x="380" y="-515" size="18" style="bold"/>
<text value="RMB:30.00" x="380" y="-245" size="18" style="bold"/>

<text value="youbus.cn" x="380" y="225" size="15"/>
<text value="游巴网" x="380" y="115" size="15"/>
</static>

</template>


--  作者:Qr
--  发布时间:12/11/2007 5:43:00 PM

--  
用程序语言吧,XML是绝对不行的。
--  作者:qiuyi_22
--  发布时间:12/13/2007 3:23:00 PM

--  
谢谢了.如果我想有时间显示,还有其他办法可以实现吗/因为我这个是模板.我想产生一个时间
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
7,966.797ms