Input is possible - http://community.qlik.com/message/558126#558126 - but output not (directly). XBRL is xml and maybe you could create a qv-chart with the proper data-structure and exports it then to xml, here an example from APIGuide.qvw:
rem create new pivot table and export in xml set chart = ActiveDocument.ActiveSheet.CreatePivotTable chart.AddDimension "ProductType" chart.AddExpression "sum(Amount)" chart.ExportXml "C:\test.xml"