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

RE: Image extension functions

Subject: RE: Image extension functions
From: "Ryan Lubben" <ryanl@xxxxxxxxxxx>
Date: Wed, 4 Apr 2007 13:51:51 -0500
RE:  Image extension functions
Hi Elliotte,

I'm not sure if there are any extensions out there for obtaining an image's
intrinsic width / height, but if you are using SVGs you can use the document()
function to obtain the image's width / height.

<xsl:value-of select="document($graphic_url)//@width"/>
<xsl:value-of select="document($graphic_url)//@height"/>

Regards,

Ryan Lubben


-----Original Message-----
From: Elliotte Harold [mailto:elharo@xxxxxxxxxxxxxxx]
Sent: Wednesday, April 04, 2007 12:09 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Image extension functions

Has anyone written an XSLT 1.0 extension function to get the height and
width of an image at a specified URL?

--
o;?Elliotte Rusty Harold  elharo@xxxxxxxxxxxxxxx
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

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-2011 All Rights Reserved.