xsl-list
[Top] [All Lists]

[xsl] Curious about creating a custom function to java classes pertaining to images

2009-08-06 09:32:03
Sorry about the foggy subject line and if this isn’t appropriate for this 
mailing list.

Was sitting here thinking about our various image needs and was thinking about 
the possibility of creating a custom function that calls a Java class. Here is 
what I’m thinking about:

Parse XML doc (DITA) using XSLT 2 and Saxon.
Come across a ref to an image (which we haven’t decided if we create a 
specialized concept to contain all relevant image info or some other method).
The original images will be SVG more than likely, at the moment they are WMF.
Parse the SVG to create the appropriate file type (jpg, gif, wmf, etc, or just 
plain old SVG) for output type, resize (based on conditions), place the 
modified image in the appropriate dir/db table. All this using XSLT via either 
a call to Java class or a custom XSLT function calling a Java class.

I’d like this to be part of the XSLT publishing workflow.

Has anyone done this or see any issues of doing this? Just wanted a heads up 
before going further with this.

Thanks

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries
(204) 934 8815
mario_madunic(_at_)newflyer(_dot_)com


--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or 
material transmitted with this communication) is confidential, may be 
privileged and is intended only for the use of the intended recipient. If you 
are not the intended recipient, any review, retransmission, circulation, 
distribution, reproduction, conversion to hard copy, copying or other use of 
this communication, information or material is strictly prohibited and may be 
illegal. If you received this communication in error or if it is forwarded to 
you without the express authorization of New Flyer, please notify us 
immediately by telephone or by return email and permanently delete the 
communication, information and material from any computer, disk drive, diskette 
or other storage device or media. Thank you.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--