[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Filename encoding

Subject: Filename encoding
From: Jesper Tverskov <jesper@xxxxxxxxxxx>
Date: Wed, 21 Oct 2009 11:15:37 +0200
 Filename encoding
Hi list

Let us say I'm making a quiz for the net using thousands of images.
Users will have to guess what the image is. It could be a flag of some
country. I don't want the name of the img file to give the answer
away.

I will have to change the img filenames of all the img files in the
filesystem using a general purpose programming language. But it would
be nice if I can use XSLT to transform a document containing all the
original image filenames to a new document with the new names.

That is I'm looking for a method that will come up with the same new
names for the XSLT part of the project and for the general purpose
programming language part of the project.

One approach could be to rename the files using base64Binary (Saxon
has an extension function for that), except that I don't know if the
new names will always work as filenames?

What other or better approaches do we have, something that will be
easy to implement in both the XSLT and in the general purpose
programming language part of the project?

Cheers
Jesper Tverskov

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.