Re: [xsl] Filename encoding

Subject: Re: [xsl] Filename encoding
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Date: Wed, 21 Oct 2009 13:34:43 +0200
> 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

Current Thread