Re: [Xsltforms-support] dynamic include of SVG image

2014-09-26 Thread Alain Couthures
Hi Dan, xf:include/@src is interpreted at load time, like some preprocessor instruction, so it is not possible to use it for this use case. Is xf:upload used to upload the SVG image? If so, I have just experimented adding support for "string" type! My test case is: http://www.w3.org/2002/x

[Xsltforms-support] dynamic include of SVG image

2014-09-26 Thread Dan McCreary
Hi folks, I have a form that the user is uploading a SVG image and I would like to show a preview of it after the file has been selected. I have seen that the element allows us to place the SVG image in the form like this: Here is the example on github: https://github.com/AlainCouthures/xslt