Re: XSLTransform.Transform() doesn't work!
- From: "Marc Gravell" <marc.gravell@xxxxxxxxx>
- Date: 22 Feb 2007 21:22:05 -0800
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
.
- Follow-Ups:
- Re: XSLTransform.Transform() doesn't work!
- From: Marc Gravell
- Re: XSLTransform.Transform() doesn't work!
- Prev by Date: Re: Thread-safe methods...
- Next by Date: Re: XSLTransform.Transform() doesn't work!
- Previous by thread: Sort colors by shade
- Next by thread: Re: XSLTransform.Transform() doesn't work!
- Index(es):
Relevant Pages
|