xsl-list
[Top] [All Lists]

Re: [xsl] Filename encoding

2009-10-21 07:35:19
translate($name,
'abcdefghijklmnopqrstuvwxyz0123456789',
'opqstuavwk7mxyghijlr6z01234cbd5ef89n')

Yes, translate() in XSLT is liked build for the problem, but I don't
think C# has something similar. In C#, I would have to use a lot of
replaces or a switch when changing the filenames in the file system.

I was looking for some "out of the box" solution, that would just work
right away in both programming languages.

Cheers,
Jesper Tverskov

http://www.xmlkurser.dk
http://www.xmlplease.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>