Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Silvinho

    Get ASP Variable from XML

    I'm not even sure if this is possible but i want to be able to create some variables from an XML file and use them in an ASP page. I can use an asp variable easy enough in an XSL sheet but is it possible to then create variables in the XSL and then output them?
  2. Silvinho

    XHTML Display Problem

    I keep getting this problem! When a page has the doctype below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Then some of the css or the general display is wrong. If i put...
  3. Silvinho

    XHTML Display Error

    I keep getting this problem! When a page has the doctype below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Then some of the css or the general display is wrong. If i put...
  4. Silvinho

    XSL Validation Error

    I figured it out, i needed to output the xsl as xml rather than html!
  5. Silvinho

    XSL Validation Error

    Im new to xml.xsl and I'm having a problem getting an xsl fragment page to validate to XHTML 1.0. I keep getting the error: end tag for "img" omitted, but OMITTAG NO was specified basically the xsl sheet reformats the output for images and removes the end />. original: <img src="spacer.gif"...
  6. Silvinho

    XSL Using AND/OR

    Im new to xml/xsl and i wanted to know if is posible to filter a for each query on more than one field like SQL using AND/OR values. ie: in SQL you could write: WHERE Country = 'France' AND Price > 30 but in xsl i cant see how to do a similar thing: <xsl:for-each...
  7. Silvinho

    Create Variables from Data?

    I'm quite new to asp.net but very experienced with standard asp. The problem I’m having is being once I’ve created a datagrid I need to be able to format the html depending on the data. ie: if the column "Activated" = True then the table row bgcolor would be blue This was very easy to do in...
  8. Silvinho

    Create Variables from Data?

    I'm quite new to vb.net but very experienced with standard asp. The problem I’m having is being once I’ve created a datagrid I need to be able to format the html depending on the data. ie: if the column "Activated" = True then the table row bgcolor would be blue This was very easy to do in...
  9. Silvinho

    XML style on multiple elements

    I've got a style sheet but i haven't found a way to apply styles to the <TR> tags by only applying a style to the <table> tag. Im using a text editor which you can attach xml styles to various elements when there clicked on, ie: images, <hr> etc... the problem is you can only click on the...
  10. Silvinho

    XML style on multiple elements

    Is it possible to apply an xml style to more than one element at a time. basically i want to change the attibutes of the <TABLE> tag and the <TR> tag at the same time as below. <Style name="Table Style" element="table"> <Attribute name="cellspacing" value="0" /> <Attribute...
  11. Silvinho

    SQL JOIN Query

    I have a table with uploaded files such as images in it. I have another table that has an ntext field with content in it which may or may not include some of the image files. What i want to do is create a query that lists all the uploaded files and counts how many times each file is used...
  12. Silvinho

    Directly Email Attcahment

    Is it possible to email an attachment without first uploading the file. ie: a user browsing for a file on their computer and clicking send and that file automatically being sent to whoever? i know it can be done by uploading the file first but there are virus issues that id like to avoid.
  13. Silvinho

    ADVANCED ORDERING

    I’m having a problem which I’m not sure is even achievable. I’ve created a search results page that works normally i.e.: strSearch = Request.Form(“search”) SELECT * FROM Table1 WHERE Field1 LIKE ‘%strSearch%’ Say the form variable is ‘Dog’ What I want to achieve is to count the number of...
  14. Silvinho

    ADVANCED ORDERING

    I’m having a problem which I’m not sure is even achievable. I’ve created a search results page that works normally i.e.: strSearch = Request.Form(“search”) SELECT * FROM Table1 WHERE Field1 LIKE ‘%strSearch%’ Say the form variable is ‘Dog’ What I want to achieve is to count the number...
  15. Silvinho

    ADVANCED ORDERING

    I’m having a problem which I’m not sure is even achievable. I’ve created a search results page that works normally i.e.: strSearch = Request.Form(“search”) SELECT * FROM Table1 WHERE Field1 LIKE ‘%strSearch%’ Say the form variable is ‘Dog’ What I want to achieve is to count the number of...
  16. Silvinho

    COUNT FROM MULTIPLE TABLES

    I have a database that has 1 table(Images) that store all my uploaded image files. there are then 3 other tables that store some of these image files as one of the fields The problem im having is i want a page that lists all the images from Table 1(Images) with a total count of the times the...
  17. Silvinho

    Year Date Format

    Is it possible to display only the year of a date in asp ie: the database stores the record '21/08/2002', i just want the asp page to show '2002'
  18. Silvinho

    Joined Tables Problem

    I’ve been having great difficulty with this joined table problem. Ill explain the database to start with: Table called Country Table called Titles Table called Sales The sales table is linked to both the Country table and the Titles table Each title can be sold in various countries adding a...
  19. Silvinho

    Joined Tables Problem

    I’ve been having great difficulty with this joined table problem. Ill explain the database to start with: Table called Country Table called Titles Table called Sales The sales table is linked to both the Country table and the Titles table Each title can be sold in various countries adding a...
  20. Silvinho

    DATE BETWEEN PROBLEM

    I have a messageboard that has a feature that can select the messages from the last 3 days or 14 days etc.. The problem was when i switched from MS Access to SQL the query doesnt work anymore. the original query contained:(messageboard_Subject.DateCreated) Between (Now())-0 And (Now())-3&quot...

Part and Inventory Search

Back
Top