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 MikeeOK 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: *

  • Users: newbie404
  • Content: Threads
  • Order by date
  1. newbie404

    Adding weekdays to a date

    Hi, I am writing an ASP program but need to have some javascript in it too. I need a javascript function that you can supply in a date in the format mm/dd/yyyy and an integer which is the number of weekdays (M-F) to add to it.I have written the function for use in the ASP side but am a bit...
  2. newbie404

    Calling a javascript function AND an asp one

    Hi, I have an asp page where I have a form. Within the form I have a button which does NOT submit the form, but instead calls a javascript function which does some things for me. I have found that I also want to call an asp function on the page when the button is pressed. Is there any way of...
  3. newbie404

    adding days and half days

    I am trying to write a function where I add a number of days or half days to a date. however, I am not sure how to add days of the week (M-F) only when adding days. I thought that it was newdate=DateAdd("w", 1, indate) but this seems to just add a single day even if it is adding to friday. I...
  4. newbie404

    Maintaining spaces with xsl transformation of xml

    Hi, I have some trouble getting my xml to display correctly using xsl. I have a node with formatting which can also contain changes which are marked <insertion> or <deletion>. Insertions should be shown, deletions should not. A sample piece of this xml is: <Text> text&lt;inserted&gt...
  5. newbie404

    Extracting attributes wityh xsl

    Hi. I am writing some xsl to extract attribute details from an xml file and display them. My problem is I am not getting the output! The xsl (a section of it) is - <xsl:for-each select="Option[@correctanswer='true']"> <div id="filename"> <xsl:value-of select="@id" /> </div> </xsl:for-each>...
  6. newbie404

    Including some child nodes of mixed nodes, but not others

    I am trying to present some xml in a browser, using xsl, from a mixed node, so that I include every <inserted> child node, and leave out every <deleted> one. (Yes, I AM trying to create track-changes!). Is it possible to do this and still have the text in order? Here is an example of what I...
  7. newbie404

    Showing &lt;br/&gt; tags as carriage returns

    I am trying to apply an xsl stylesheet to an xml file at runtime. My problem is that any breeak tags embedded in the xml nodes are not showing as carriage returns in the browser. Has anyone come across a way of getting them to? The xml I am using is (snippet shown) - <Click type="text">...

Part and Inventory Search

Back
Top