A rather general question has come up.  A friend has asked
for a form that asks the user some questions based on the content 
of an XML document to be supplied by the user.

Is there any convenient way to get an XML document that
initially resides on the user's hard disk into an XForms
instance, so the form can look at it and customize itself
accordingly?  Or is that impossible?

If xf:upload were able to populate an instance (or an element
in an instance) with an uploaded document, that would (I
think) do what I think I need.  But if I read the 1.1 spec correctly,
xf:upload data cannot be parsed XML data, only base64Binary
and so on.

I'd be happy to provide a text widget and have the user copy 
the file and paste it in, if there were a way to get the parsed XML
structure back out, but that has not worked for me in the past.
(On the other hand, I think that that is, more or less, how the
TinyMCE widget works, so it might be technically feasible.)

Does anyone here have relevant experience or advice?

Thanks!

Michael

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to