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

Re: String hashing code

Subject: Re: String hashing code
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Sat, 15 Dec 2007 05:00:25 -0500
Re:  String hashing code
On Sat, 2007-12-15 at 11:31 +1100, Deborah Pickett wrote:
> Some solutions (Rob's idea of appending the ID to the filename)
> unfortunately won't work because of limitations with other, third-party,
> stages of the pipeline. (In this case, the Batik SVG rasterizer code
> dumps all of the rasterized files into the same output directory,
> flattening any directory structure and risking collision again.)

Just make the path from some root dir the filename (replacing the
slashes with whatever) and then append generate-id() or position()
(possibly combined with depth and prev-sibl count). You could create the
file with a unique extension (*.mathml ?) for easy fileset selection in
ant. Also your main output can create a list of all the files.

best,
-Rob

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.