Re: XSLTransform.Transform() doesn't work!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Well, from what I can see it shouldn't work in the others... first:
you have an odd number of brackets in the second line; second:
translate converts characters from the first array into the
corresponding (by index) from the second, e.g. (from w3schools):

<quote>Example: translate('12:30','30','45')
Result: '12:45'

Example: translate('12:30','03','54')
Result: '12:45'

Example: translate('12:30','0123','abcd')
Result: 'bc:da'</quote>

It is *not* the same as "replace"; look at the "replace" function...

Also : ".//element" and "./@attrib" are usually just "//element" and
"@attrib"

Marc

.



Relevant Pages

  • Re: I get !Syntax Error, { for a formula using {PAGE}
    ... However, if you use an Odd Page header as Jonathon suggested, you can just ... > However when I enter the above formula field code, ... >>> the curly brackets from I get a bookmark error. ...
    (microsoft.public.word.vba.general)
  • Re: Easy question
    ... What you are doing seems odd, you are saying do something if an object ... but you would do this regardless of what the object ... testing multiple conditions in the same statement, e.g., ... While I haven't tried it yet, maybe the brackets can be eliminated depending ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Hit and Run
    ... That phrase seems odd - I should bloody well hope he stopped for you. ... It's the bit in brackets that make it odd. ...
    (uk.rec.cycling)
  • Re: Hit and Run
    ... That phrase seems odd - I should bloody well hope he stopped for you. ... It's the bit in brackets that make it odd. ... Option 1 - chase a car in the hope of getting some details. ...
    (uk.rec.cycling)
  • Re: sql syntax
    ... That's an odd date format! ... could convert this value to a true Date/Time? ... I'm not certain how you would be able to translate your nonstandard ... you a small VBA function to translate, ...
    (microsoft.public.access.gettingstarted)