Subject: RE: [xsl] Image extension functions From: "Ryan Lubben" <ryanl@xxxxxxxxxxx> Date: Wed, 4 Apr 2007 13:51:51 -0500 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Image extension functions, Elliotte Harold | Thread | RE: [xsl] Image extension functions, Mauritz Jeanson |
Re: [xsl] Proposed syntax for names, Abel Braaksma | Date | RE: [xsl] Proposed syntax for names, Michael Kay |
Month |