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

Re: Re: Inserting File Attributes Into XSLT Output

Subject: Re: Re: Inserting File Attributes Into XSLT Output
From: Ganesh Babu N <nbabuganesh@xxxxxxxxx>
Date: Fri, 14 Dec 2012 13:56:09 +0530
Re:  Re: Inserting File Attributes Into XSLT Output
Dear Nathan,

Here is an example how we can extend the XSLT with java. If your are
using java based processor you can even use this method.

http://cafeconleche.org/books/xmljava/chapters/ch17s03.html

Regards,
Ganesh

On Thu, Dec 13, 2012 at 9:06 PM, Nathan Tallman <ntallman@xxxxxxxxx> wrote:
> Thank you, everyone for your replies.
>
> @Michele -- I think you're right to do this server-side and not during
> the initial transformation. I do want in in the finding aid, but
> perhaps not the EAD directly, just the HTML.
>
> @Eric -- I think this is the way to go; I will work on the specifics today.
>
> @Emmanuel/@Wendell -- Thanks for the pointers, but I think I'm going
> to do this in javascript, or perhaps php.
>
> Again, thanks to all!
>
> Nathan
>
> On Wed, Dec 12, 2012 at 4:41 PM, Nathan Tallman <ntallman@xxxxxxxxx> wrote:
>> Perhaps I'm going about this in the wrong way. Instead of trying to
>> insert the file size at the time of transformation (non-server), maybe
>> I need to insert some code in the output HTML and insert server-side,
>> on-the-fly...
>>
>> On Wed, Dec 12, 2012 at 4:27 PM, Liam R E Quin <liam@xxxxxx> wrote:
>>> On Wed, 2012-12-12 at 16:19 -0500, Nathan Tallman wrote:
>>>> Was trying to find a way to inform the user of the linked
>>>> PDF file size, so they can download instead of opening in the browser,
>>>> if they so choose.
>>> There's an ls2xml script floating around, and David Lee's xmlsh may be
>>> able to do it too, in both cases by creating an auxilliary XML file
>>> containing the file sizes. Or write a short program to do it, depending
>>> on your operating environment (Linux, VMS, Solaris, Microsoft Windows
>>> 3.11, etc.)
>>>
>>> Liam
>>>
>>> --
>>> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
>>> Pictures from old books: http://fromoldbooks.org/
>>> Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
>>> Co-perpetrator, 5th edition of "Beginning XML", Wrox, 2012

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.