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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JasonHampson

  1. JasonHampson

    Hide/unhide table rows

    In this example you pass in a parameter element. I have multiple nested tables. Can I go through all the tables and all the rows and all the cells and the cell matching the value will hide the parent table?
  2. JasonHampson

    Hide/unhide table rows

    I have this piece of JavaScript (Below), which is called from a html page to hide or unhide a row below the one where the script is called from (if that makes sense). I want to adapt the code so it will go through the document and hide/unhide any row that contains a certain value. Is this...
  3. JasonHampson

    How to display XML in IE

    U will need to make an xsl file containing something like: <xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/TR/WD-xsl&quot;> <xsl:template match=&quot;/&quot;> <div class=&quot;GREETING&quot;><xsl:value-of select=&quot;GREETING&quot;/></div> </xsl:template> and change the xml header to...
  4. JasonHampson

    XSL Header

    Pardon my ignorance but what is the importance of the XSL header. I’ve looked at examples, one quoted ‘<xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/TR/WD-xsl&quot;>’ and another used <xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;>...
  5. JasonHampson

    Creating a single webpage from multiple xml files

    I adapted your above example to create: <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;>; <xsl:template match=&quot;/&quot;> <html> <head>...
  6. JasonHampson

    Using a value returned from XML in a link

    Its ok I've solved it. The code i used was: <H3><A><xsl:attribute name=&quot;href&quot;><xsl:value-of select=&quot;MODULE&quot;/> - <xsl:value-of select=&quot;HEADING&quot;/>().xml</xsl:attribute><xsl:value-of select=&quot;HEADING&quot;/></A></H3> Quite simple after all of that
  7. JasonHampson

    Using a value returned from XML in a link

    When I used the <xsl:variable> function, internet explorer showed an error saying 'keyword xsl:variable may not be used here' in the below example: <xsl:template match=&quot;SUB_HEADING&quot;> <xsl:variable name=&quot;DocName&quot;><xsl:value-of select=&quot;MODULE&quot;/> - <xsl:value-of...
  8. JasonHampson

    Using a value returned from XML in a link

    Sorry i changed it to: <xsl:template match=&quot;SUB_HEADING&quot;> <A href='&l t;xsl:value-of select=&quot;MODULE&quot;/&g t;.xml'><H3>Sub Heading:- <xsl:value-of select=&quot;HEADING&quot;/></H3></A> </xsl:template> without the spaces in &l t; + &g t;
  9. JasonHampson

    Using a value returned from XML in a link

    I changed the code to: <xsl:template match=&quot;SUB_HEADING&quot;> <A href='&lt;xsl:value-of select=&quot;MODULE&quot;/&gt;.xml'><H3>Sub Heading:- <xsl:value-of select=&quot;HEADING&quot;/></H3></A> </xsl:template> When I hovered my mouse over the link it says...
  10. JasonHampson

    Using a value returned from XML in a link

    I have a XSL template I’m creating and I want to insert a link to another web page. The name of the page is obtained from returning a value from an XML node. I have tried both: <xsl:template match=&quot;SUB_HEADING&quot;> <A href=&quot;{concat(value-of select='MODULE',' - ',value-of...
  11. JasonHampson

    Creating a single webpage from multiple xml files

    I want to create a single web page viewable by Internet Explorer from several XML files. I intend to use XSL style sheets to create and format the document from multiple source files. I would like Internet Explorer to compile the page on-the-fly (e.g...
  12. JasonHampson

    Referencing a field

    Yeah sorry I realized that I shouldn't have the '!' when using the round brackets, cheers
  13. JasonHampson

    Referencing a field

    I just put up a post but I think I may have made it too complicated. I want to access information in a field in a table. I have a recordset and I know I can get its value by using the form recordset!field e.g myRecord!Name for the ‘name’ attribute. I was just wondering how you referenced it when...
  14. JasonHampson

    Referencing a field

    I’m sure the answer for this is really simple. I've got a table which holds the paths to standard letters. The code I’ve produced already opens the file, uses text stream to get the contents. The texts are in the form “text <<reference to a field>> text” e.g. Dear <<Contact Name>>, Thank you…...
  15. JasonHampson

    Problems declaring objects!

    Thanx for your help!!!

Part and Inventory Search

Back
Top