|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








