Kodları lütfen aşağıdaki butonları kullanarak renklendirin. Örnek: <php> echo "Selam Dünya"; </php>
Yardım
karakter kaldı

ASP içinde XML kullanma ?

SLM ARKADAŞLAR AŞAĞIDAKİ XML DİLİNİ NASIL ASP'YE ÇEVİREBİİLİRİM ACABA ?

<?xml version="1.0" encoding="ISO-8859-9" ?>

<flash_parameters>
<preferences>
<golbal>
<basic_property movieWidth="550" movieHeight="413" decoration="" html_title="Hazal Bilgisayar | Programcı : Özgür BATIR" loadStyle="Bar" hideAdobeMenu="false" anvsoftMenu="false" photoDynamicShow="true" enableURL="true" transitionArray=""/>
<title_property photoTitle="false" photoTitleX="5" photoTitleY="5" photoTitleSize="15" photoTitleFont="Verdana" photoTitleColor="0xffffff"/>
<music_property path="" stream="true" loop="true"/>
<photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
<properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
</golbal>
<thumbnail>
<basic_property showPrview="true" prviewWidth="100" prviewHeight="75" lineColor="0xffffff" numberColor="0xffffff" hovrColor="0xff0000" prviewBorderColor="0xffffff"/>
</thumbnail>
</preferences>
<album>
<slide jpegURL="kucuk/kaputas-beach-kalkan.jpg" d_URL="resimler/kaputas-beach-kalkan.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="1" width="550" height="413"/>
<slide jpegURL="kucuk/kaputas-stone2.jpg" d_URL="resimler/kaputas-stone2.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="2" width="550" height="413"/>
<slide jpegURL="kucuk/kaputas-stone.jpg" d_URL="resimler/kaputas-stone.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="3" width="550" height="413"/>
<slide jpegURL="kucuk/kalkan-sea.jpg" d_URL="resimler/kalkan-sea.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="4" width="550" height="413"/>
<slide jpegURL="kucuk/kalkan-clear2.jpg" d_URL="resimler/kalkan-clear2.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="5" width="550" height="413"/>
<slide jpegURL="kucuk/kalkan-boat2.jpg" d_URL="resimler/kalkan-boat2.jpg" transition="29" panzoom="1" URLTarget="0" phototime="5" url="http://www.fatih-simsek.com/xml-ile-destekli-flash-banner-olusturma/" title="6" width="550" height="413"/>
</album>
</flash_parameters>
+0
-0
Cevaba KatılıyorumKatılmıyorum
Cevap Yaz Yorum Yaz Arşivime Ekle Takip Et

Cevaplar

  • Mehmet-Coskun adlı üyenin fotoğrafı
    9 yıl önce yazılmış
    2 cevap - 0 soru
    mesela <% Response.Write("<?xml version='1.0' encoding='ISO-8859-9' ?>") %>

    xml kodlarının hepsini response.write ile yazdır. eğer kayıt listeleyeceksen kendi mantığınla kaydını listele bu şekilde. ama unutma bütün xml kodlarını write ile yazdır. ve xml kodlarındaki bütün çift tırnakları yani --> " <-- bunları --> ' <--- buna yani tek tırnak haline getir.

    mesela ben bi projemde kullanmıştım kodları yazayım belki bir yardımı dokunur;

    <!--#include file="db.asp"-->
    <%
    Response.Buffer = True
    Response.ContentType = "text/xml"
    %>
    <% Response.Write("<?xml version='1.0' encoding='utf-8'?>") %>
    <%
    Response.Write("<main>")
    Response.Write("<config>")
    Response.Write("<backgroundURL = 'images/background.png'>")
    Response.Write("<cubeWidth = '590'>")
    Response.Write("<cubeHeight = '300'>")
    Response.Write("<cubeDepth = '50'>")
    Response.Write("<cubeSpacing = '100'>")
    Response.Write("<cubeRightFaceColor = '0xcccccc'>")
    Response.Write("<cubeLeftFaceColor = '0x888888'>")
    Response.Write("<showShadow = 'true'>")
    Response.Write("<shadowColor = '0x000000'>")
    Response.Write("<shadowAlpha = '0.15'>")
    Response.Write("<shadowHeight = '80'>")
    Response.Write("<preloaderColor = '0xFF0000'>")
    Response.Write("<transitionDelay = '5'>")
    Response.Write("<slideShowMode = 'true'>")
    Response.Write("<buttonSpacing = '2'>")
    Response.Write("<buttonColor = '0x000000'>")
    Response.Write("<buttonTextColor = '0xFFFFFF'>")
    Response.Write("</config>")
    %>
    <%
    set rs = server.createobject("ADODB.Recordset")
    SQL = "Select Top 5 * from oyunhaber ORDER by id desc"
    rs.open SQL,ObjCon,1,3

    Do while not rs.eof
    id = rs("id")
    resim = rs("resim")
    yazi1 = rs("yazi1")
    yazi2 = rs("yazi2")
    yazi3 = rs("yazi3")
    %>
    <%
    Response.Write("<item file='<%=resim%>' backgroundColor='0x414141' textX='38' textY='50'>")
    Response.Write("<text backgroundColor='0xFFFFFF' backgroundAlpha='1.0'>")
    Response.Write("<![CDATA[<font face='Trebuchet MS' color='#000000' size='30'><%=yazi1%></font>]]>")
    Response.Write("</text>")
    Response.Write("<text backgroundColor='0x008AFF' backgroundAlpha='1.0'>")
    Response.Write("<![CDATA[<font face='Trebuchet MS' color='#FFFFFF' size='26'><%=yazi2%></font>]]>")
    Response.Write("</text>")
    Response.Write("<text backgroundColor='0x1A3870' backgroundAlpha='1.0'>")
    Response.Write("<![CDATA[<font face='Trebuchet MS' color='#FFFFFF' size='20'><b><%=yazi3%></b></font>]]>")
    Response.Write("</text>")
    Response.Write("<link target='_blank'>OyunHaber.asp?ID=<%=id%></link>")
    Response.Write("</item>")
    %>
    <%
    rs.MoveNext
    loop
    %>

    <% Response.Write("</main>") %>
    • pro-asp adlı üyenin fotoğrafı pro-asp
      eyvallah kardeş. teşekkür ederim
      9 yıl önce yazılmış