Re: [Xsltforms-support] Output image/svg+xml
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2011-01-19 20:14:46
|
> I want to call a web-service that returns an SVG image. So I use : > > <xf:output > mediatype="image/svg+xml" > ref="concat('/services/charts/' , instance('test')/value)" > model="some-model" > /> Apparently, you're trying to create a dynamic XPath expression!!! I'm more and more considering adding an eval() function, specially for debugging but it seems that you should first try with something like this: ref="/services/charts/*[name() = instance('test')/value]" SVG support in XSLTForms is still experimental and you might have to adjust sizes manually. Thank you for your feedbacks! -Alain |