Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP XML
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 20th, 2005, 05:13 PM
Authorized User
Join Date: Jan 2004
Location: Blair, , United Kingdom.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP with WML help required if you can.

Hi, Im working on a wml site, with asp database. I have a news section in the site, on the page news.asp I have 3 news headlines and each headline with a link to display MORE of the story. I can output the headlines no problem. I can also make a new card in the deck and output some text and the link works. However when I make my new card in the deck and try to output the asp news story, Im getting errors. I shall paste my code see if anyone has any tips. Thanks!


    Response.ContentType = "text/vnd.wap.wml"
    Dim objConn, objRS
    Set objConn = Server.CreateObject("ADODB.Connection")
    Set ObjRS = Server.CreateObject("ADODB.Recordset")

    objConn.Provider = "Microsoft.Jet.OLEDB.4.0"
    strDBFile = Server.MapPath(".") & "\dsn.mdb"
    objConn.Open strDBFile
    Set objRS.ActiveConnection = objConn

    objRS.Open "SELECT * from news"
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
    <card id="news" title="News">
            Current News Stories:<br/>
        While Not objRS.EOF
            <p><a href="#story<%=objRS.Fields("newsid").Value%>">Mor e</a></p>

    <p><a href="index.asp">Home</a></p>


    <card id="story001" title="News">
            <p>ASP story here</p>

<card id="story002" title="News">
            <p>ASP story here</p>

<card id="story003" title="News">
            <p>ASP story here</p>
Reply With Quote
  #2 (permalink)  
Old June 3rd, 2005, 06:05 AM
Authorized User
Join Date: Jun 2003
Location: Guildford, Surrey, United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro

Got a strange feeling there is a need in the Coffee House Wap Site!

Also think your code is sorted now, so people don't need to fix this for you anymore do they?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xml transformation to wml using asp.net arunagottimukkala ASP.NET 1.0 and 1.1 Professional 1 November 7th, 2007 07:23 AM
help required for using DataGrid in asp.net priyaashok ASP.NET 1.x and 2.0 Application Design 3 June 9th, 2005 09:36 AM
XML/ASP/Javascript combo......help required crmpicco Classic ASP Databases 1 March 4th, 2005 06:50 AM
Basics required for ASP gsvirdi Classic ASP Basics 3 November 22nd, 2004 06:32 PM
asp-wml -databse andy11983 Classic ASP Basics 0 April 12th, 2004 05:51 PM

All times are GMT -4. The time now is 12:16 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.