Re: [Xsltforms-support] image/SVG+xml not loading the image in output
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2011-02-11 19:22:20
|
Hi! I looked at the "svg.xq" file sent by Raja and was wondering if there had been progress about supporting external SVGs through the use of xs:anyURI, as in : <xf:model id="Dash-board"> <xf:instance id="svg-graph" xmlns=""> <svg-data xmlns=""> <graph xsi:type="xs:anyURI">http://localhost:8080/exist/rest/db/chart.svg</graph> </svg-data> </xf:instance> <xf:bind nodeset="instance('svg-graph')/graph" type="xs:anyURI"/> </xf:model> and : <xf:output ref="instance('svg-graph')/graph" mediatype="image/svg+xml"/> As a work-around, I use "image/*" instead of "image/svg+xml" to be able to use the "ref" attribute as a URI (instead of giving it an SVG instance's id). It's just : <xf:output mediatype="image/*" ref="concat('/services/svg/' , instance('some-instance')/some-value-for-the-svg)" model="some-model"/> Hope this helps! Grégoire Le 24/01/2011 07:31, Raja a écrit : > Hi Alain !!! > With this mail attached the sample svg file and xq file for display. > By > Rajamani marimuthu > XRX Team(Lead) > > > On 01/22/11, *COUTHURES Alain * <ala...@ag...> wrote: >> Hi Raja, >> >> >The Output with media type "image/svg+xml" not loading the image . >> Is there any problem in this type or no support? >> Yes, SVG support is still experimental, especially for Internet Explorer. >> >> Could you please send me an SVG test file? >> >> Thanks! >> >> -Alain >> > > -- > Rajamani Marimuthu > Junior Research Fellow-JRF > NIC -Open Technology Centre > Rajaji Bhavan > Besant Nagar, > Chennai - 90 > Cell : 9791125383 > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |