dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: JohnBampton

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,757

    htaccess help url rewrite

    I need help with url rewrite. Running Apache linux

    I need to direct the following two urls

    http://www.donateingham.org/icac
    http://donateingham.org/icac

    to
    ...
  2. Replies
    1
    Views
    1,941

    Response.WriteFile issue

    I have the following code and when I run it all it does is show a blank webpage, but when I view the source all the html is there. How do I code it so that the webpage is not blank?


    using...
  3. Replies
    8
    Views
    4,561

    Thanks, that works. How did you know that it was...

    Thanks, that works. How did you know that it was port 443?
  4. Replies
    8
    Views
    4,561

    fsockopen error

    I am trying to post to https://ota.cartrawler.com/cartrawlerota
    and i get the following error:


    Warning: fsockopen() [function.fsockopen]: unable to connect to ota.cartrawler.com:-1 (Failed to...
  5. Replies
    2
    Views
    554

    Soap request error

    I keep getting an error - invalid token when i run this code, when i do it manually the token is valid. Can anyone see the problem?


    <?php
    $client = new
    SoapClient(
    ...
  6. Well it is hard to determine without seeing your...

    Well it is hard to determine without seeing your full XSLT and your input XML. Other than that the code looks ok except it is a bit verbose. You should be using something like this:



    <tr>...
  7. Replies
    2
    Views
    5,224

    Hello, I modify your code because it was so...

    Hello, I modify your code because it was so verbose, all you had to do was check the position() function


    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"...
  8. Thread: xsl param

    by JohnBampton
    Replies
    4
    Views
    4,431

    Or you cound use XSL 1.0 with the following: ...

    Or you cound use XSL 1.0 with the following:


    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">...
  9. Thread: xsl param

    by JohnBampton
    Replies
    4
    Views
    4,431

    I would use XSLT 2.0 and do something like the...

    I would use XSLT 2.0 and do something like the following


    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    ...
  10. Thread: xsl param

    by JohnBampton
    Replies
    4
    Views
    4,431

    View Post

    <xsl:value-of select="concat(count(class/student[grade = $target_grade]) div count(class/student) * 100,'%')"/>

    Cheers, John Bampton
  11. Replies
    3
    Views
    1,070

    replace you stylesheet tag with this one ...

    replace you stylesheet tag with this one


    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version = "1.0">

    and then it will work

    Cheers, John Bampton.
  12. Replies
    5
    Views
    2,262

    xalan and the browser are xslt 1.0 compliant, the...

    xalan and the browser are xslt 1.0 compliant, the xpath attribute is from xslt 2.0, that is why it doesn't work
  13. Replies
    15
    Views
    2,186

    View Post

    <xsl:value-of select="LDESC" disable-output-escaping="yes"/>

    cheers, John Bampton.
  14. Replies
    5
    Views
    2,262

    you need to add as an attribute ...

    you need to add as an attribute


    xpath-default-namespace="http://www.ecb.int/N13"

    on the stylesheet or foreach tag

    Cheers, John Bampton.
  15. Replies
    2
    Views
    994

    All I did was put a 'root' tag around the student...

    All I did was put a 'root' tag around the student and registration tags


    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    ...
  16. Replies
    4
    Views
    1,459

    ...

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    exclude-result-prefixes="xs"
    ...
  17. Replies
    5
    Views
    3,440

    no one knows what you are doing unless you post...

    no one knows what you are doing unless you post your code
  18. Use XSL, it is simple to use and fits your...

    Use XSL, it is simple to use and fits your problem well. You can combine the XSL with HTML and CSS to make it display nicely in a browser.
  19. Replies
    5
    Views
    1,155

    ...

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    exclude-result-prefixes="xs"
    ...
  20. lol, sequence min 0 max unbounded works

    lol, sequence min 0 max unbounded works
  21. sequence works as well, so I was right twice

    sequence works as well, so I was right twice
  22. lol, you cannot use choice as it will only ouput...

    lol, you cannot use choice as it will only ouput one element between 0 and unbounded times.
  23. sequence The sequence element specifies that the...

    sequence The sequence element specifies that the child elements must appear in a sequence. Each child element can occur from 0 to any number of times

    choice Allows only one of the elements...
  24. Replies
    10
    Views
    1,616

    Out of the goodness of my heart I will give you...

    Out of the goodness of my heart I will give you the solution

    You need to do less talk and more programming, you don't try hard enough


    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet...
  25. Replies
    10
    Views
    1,616

    because you have been rude I am not going to help...

    because you have been rude I am not going to help you anymore

    Cheers, John Bampton.
Results 1 to 25 of 33
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles