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 Mike Lewis 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. petejohnson

    Advice on XML

    I don't suppose anyone has been able to find a part solution?
  2. petejohnson

    Advice on XML

    Someone else had this to say about the JS: "It's pretty obvious why your javascript doesn'rt work - it uses Microsoft specifc code that will only work with IE on Windows! You shouldn't have any kind of XML stuff going on in your javascript - that ought to be all back up at the server. (Firefox...
  3. petejohnson

    Advice on XML

    Thanks very much. Any implementation would help me greatly.
  4. petejohnson

    Advice on XML

    Expanding on what I initially wrote - apparently it can't find URL, because the loading isn't done. "When you load("xxx.xml"), the objDOM is not really supporting getElementById. To retrieve the one node you have useful info, you can do it by using the definitely supported...
  5. petejohnson

    Advice on XML

    Hmmm, this is strange. I'm not declaring the XSL variable specifically, I'm just copying what you've written into my JS code: var xml,xsl; function uponSubmit() { if(document.implementation && document.implementation.createDocument) { // Mozilla // Load XML xml =...
  6. petejohnson

    Advice on XML

    The full HTML page (containing the form) is: http://homepages.cs.ncl.ac.uk/g.j.parker/working/pagecheck.html The JScript file is: http://homepages.cs.ncl.ac.uk/g.j.parker/working/formscript.js The XSL Stylesheet is: http://homepages.cs.ncl.ac.uk/g.j.parker/working/stylesheet.xsl The target...
  7. petejohnson

    Advice on XML

    Please could we move to the JS form so I don't get kicked off for using the wrong area?
  8. petejohnson

    Advice on XML

    * that should read page.xml
  9. petejohnson

    Advice on XML

    Sorry, I've changed that bit to pages.xml. However, I get the following problems: Error: xsl is not defined Source File: formscript.js Line: 49 Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXSLTProcessor.transformToDocument]" nsresult...
  10. petejohnson

    Advice on XML

    Jonty, thanks for that. Again, it works fine in IE, but in FF, brings the message: Error: xsl is not defined Source File: formscript.js Line: 49 I also get: Error: doTransform is not defined Source File: formscript.js Line: 43 Or sometimes: Error: [Exception... "Node cannot be inserted at...
  11. petejohnson

    Active X

    Thanks for your help tsuji and Sheco. As I mentioned earlier, my main area of 'expertese' is XSLT. The above JavaScript was kindly given to me by another user, as I don't enough JS or VB to create a script of my own. Do you know of anyone on this site who may be able to help me with the...
  12. petejohnson

    Advice on XML

    There was a particular line in some code I think you originally posted. xmldone=xml.load("results.xml"); Fails in FF because it doesn't give it a chance to load. Is there any way of sorting this in the browser?
  13. petejohnson

    Active X

    After talking to a few other people, it seems a server side solution would be easier - at least I could ensure everyone would be able to view my site. I'd like some advice... is there anyone here that could perhaps give me their opinion on this?
  14. petejohnson

    Active X

    I'm not an expert JavaScript user - this feature is an addition to my site which is out of the scope of my current knowledge. Would it be simpler to use a server-side implementation? I'm not being lazy, I just don't know JavaScript well enough. My main areas are XML/XLST.
  15. petejohnson

    Advice on XML

    Jonty - I think my original solution could still be used. My original JavaScript failed repeatedly in FF but it seems this could be sorted. Please could you take a look at the above post and let me know what you think?
  16. petejohnson

    Active X

    Oh, I kinda get it now. What loading are you talking about? It seems the Firefox page loads the script then fails, returning back to the form page, seemingly doing nothing. There's no loading left for it to do.
  17. petejohnson

    Active X

    Tsuji Sorry, I'm not sure what you mean?
  18. petejohnson

    Advice on XML

    Oops, I guess this is more a problem with accessibility than with XML. I've posted in the 'Microsoft: Active Server Pages (ASP) forum. http://www.tek-tips.com/viewthread.cfm?qid=1047394&page=1 Any help is much appreciated.
  19. petejohnson

    Active X

    Hi tsuji Thanks for trying that. Unfortunately it still doesn't work - Firefox still returns the error: Error: document.getElementsByName("fieldvalue")[0] has no properties Line: 31 It's strange that FF can't find 'fieldvalue' yet IE can.
  20. petejohnson

    Advice on XML

    Is there a particular forum I should post this in?

Part and Inventory Search

Back
Top