I'm retrieving an XML document posted to my page using 3 simple lines
Code:
set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
xmldoc.async=false
xmldoc.load(Request)
I know there is data being sent but when i run
Code:
Response.write xmldoc.parseError.reason
It's consistantly telling me No data is available for the requested resource. Does anyone know why this message would appear when the request "should" have some data in it.
Also is there anyway I can view the raw results in "request"?
if it is possible to parse the contents of a folder into a html page. So that the html page would display a form with a list of the filenames found in the folder and a radio button for each.
Microsoft's documentation reports this, " The parse method returns an integer value representing the number of milliseconds between midnight, January 1, 1970 and the date supplied in dateVal. "
Would that not imply that the above value should be ZERO?
What I want to do is simply upload a file and read the information in there. I don't want to save the file onto the server or anything difficult.
My problem is I don't know how to recieve the file once the user clicks on the Submit button. So far I have the Enctype as "multipart/form-data" and an input type as "file". That's it.
I need to parse a string from a single, semi-colon delimited, 60 character field (el_text) in a recordset and display the results in a table on a webpage (ASP). I can retrieve the recordset from the database and display the field data results in rows of a table but have the entire 60 character string in one cell.
I need to break that string apart and put each semi-colon delimited value in it's own cell. Then move to the next record and do the same thing in the next row of the table. and so on. I'm using ASP, VB Script with DMSII Database and OLEDB. how to break this field apart and then arrange the data into an html table on a webpage?
I have a text input on my page and I need to split up the string into an array. I want every letter to be in its own slot inside the array. Anyways, how do I do this?
I'm working on a project where there are just under 1300 course files, these are HTML files - my problem is that I need to do more with the content of these pages - and the thought of writing 1300 asp pages to deal with this doesn't thrill me.
The HTML pages are provided by a training company. They seem to be "structured" to some degree, but I'm not sure how easy its going to be to parse the page. Code:
I need to parse a string from a single, semi-colon delimited, 60 character field (el_text) in a recordset and display the results in a table on a webpage (ASP)
I can retrieve the recordset from the database and display the field data results in rows of a table but have the entire 60 character string in one cell. I need to break that string apart and put each semi-colon delimited value in it's own cell. Then move to the next record and do the same thing in the next row of the table. - and so on
I'm using ASP, VB Script with DMSII Database and OLEDB
Does anyone have some code examples on how to break this field apart and then arrange the data into an html table on a webpage?
have a number of text box rows generated dynamically with the same name. This gets posted to the same page as a comma delimted string. The Problem: If a user enters a comma the string gets disjointed. Need to parse(remove commas)the dynamic text box values generated on client side.
i hav drop down menu wif 6 titles. this is populated using the Table Grade. Now for example, im selecting Senior, which has the ID 4. how do i parse the ID thru when pple select the title? it must be hidden
If anyone has any suggestions on how I could get specific data from a word document into a Database please advise. I need this to work via our website.
Scenario: User uploads a word doc to our server. Then is presented with a button that reads "parse it".
I need to write something in asp that will open up the word doc and extract out specific data then simple insert it into a SQL db.
I have a site that pulls in XML data from an external third party and I need to parse it in my ASP page.
Could someone please suggest examples or online resources where I might learn how to do this? Everything I am Googling is confusing me with DTDs, XSLTs etc.
I need to use asp code in a text file (.txt extension). But when i try to call the text file (with asp code inside) in a browser , it simply displays the asp code i have written on the file. I know that i can set options in IIS administrative panel so that my text file is parsed as asp. But assuming i have no access to the web server, how to do this?
I have only been doing ASP for 2 days now so I am learning as I go. I am trying to paser through a xml document that is on the clients computer.
I am using the XMLDOM object. The problem is that the path that I supply using <input type="file" name="mFile"> is always looking to the server's hard drive instead of the clients computer. How do I make the XMLDOm object load the xml file from the clients computer. Code:
I was excited to use Microsoft Index Server, built into IIS, to set-up a site-search function, but it doesn't, by default, parse the ASP code of the pages it indexes. This makes it sort of a weak option for a site that uses variables to populate content in a templated site.
For example, I use variables to fill in the meta tags, and every page shows up in the search results as "UNTITLED." The problems go much deeper than that, but that's just an example.
if there's a trick to make it parse the code before it indexes? I mean, it's IIS, right? It should be able to parse ASP code. (You would think.) It seems to know not to index the ASP code, or else the contents of the variables would still be indexed, so it seems like it has the potential to parse the code before indexing.
Im trying to parse data from a .mdb file to a com object [.dll] file. how to i get this.? Then the .dll file perfoms the required calculations/conversion on the data parsed and displays the result to an ASP page.
I've got a slight problem with parsing a file that I open and have it read the server-side scripts. Instead it looks like it's processing it all as a string. I've tried both OpenTextFile and OpenAsTextStream - they both yield the same results. Code:
Receive xml as input stream through asp and parse it. I would be getting a xml file and i need to recive it through asp and parse it thus extracting its childnodes.
I am trying to create an application feature for an inventory database and I am wondering about the most efficient way to process the updates. Here's the background information: Code:
I need to parse a string from a single, semi-colon delimited, 60 character field (el_text) in a recordset and display the results in a table on a webpage (ASP)
I can retrieve the recordset from the database and display the field data results in rows of a table but have the entire 60 character string in one cell. I need to break that string apart and put each semi-colon delimited value in it's own cell. Then move to the next record and do the same thing in the next row of the table. - and so on
I'm using ASP, VB Script with DMSII Database and OLEDB
Does anyone have some code examples on how to break this field apart and then arrange the data into an html table on a webpage?
For example: xyzcompany - 800-123-4567 - new york, ny tp.
The line above is one record, the company names will differ (but are limited to a dozen), the format of the number will always be with a dash seperating the area code and number, the city and state will be in place, and the problem will be a two letter code followed by a period.
I need to be able to parse that record into seperate session variables such as Session("vendor"), Session("area_code"), Session("number"), and on with the city, state, and problem. Code:
how do I parse a textbox of text separated by carriage returns?
I have a web form with a textbox, when the user presses submit I would like to process the text in the textbox line by line. How can I iterate through it line by line and do something on each line of text?