Re: [xsl] Re: Inserting File Attributes Into XSLT Output

Subject: Re: [xsl] Re: Inserting File Attributes Into XSLT Output
From: Nathan Tallman <ntallman@xxxxxxxxx>
Date: Fri, 14 Dec 2012 10:09:11 -0500
Thank you, Ganesh.

Best,
Nathan

On Fri, Dec 14, 2012 at 3:26 AM, Ganesh Babu N <nbabuganesh@xxxxxxxxx> wrote:
> 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