Brent -- the zip idea is great idea -- I hadn't thought about that!  I
will try it.  I compressed the version of the file before it started
crashing (17 MB) and it compressed to 793K -- amazing!

Betty

> You may also want to consider compressing the file (xdmp:zip-create).  Not
> only will you reduce the size, you might get the file download dialog
> automatically.  If the users don't need to wait for the file, maybe
> xdmp:email() supports attachments or ML could write the result to a shared
> location (network path, ftp, etc.).  Lots of options :)
>
> -Brent
>
> -----Original Message-----
> From: Brent Hartwig
> Sent: Wednesday, December 07, 2011 8:50 AM
> To: 'Betty Harvey'
> Cc: General MarkLogic Developer Discussion
> Subject: RE: [MarkLogic Dev General] <xsl:result-document> equivalent
>
> Good deal.  I'm guessing it will involve xdmp:add-response-header() for
> content-disposition and attachment
> (http://support.microsoft.com/kb/260519), but will defer to another who
> has already done this, and may also be able to speak to cross-browser
> support.
>
> -Brent
>
> -----Original Message-----
> From: Betty Harvey [mailto:[email protected]]
> Sent: Wednesday, December 07, 2011 8:56 AM
> To: Brent Hartwig
> Cc: General MarkLogic Developer Discussion
> Subject: RE: [MarkLogic Dev General] <xsl:result-document> equivalent
>
> That would work.  I am not sure how to do that since I haven't found a way
> to put information, i.e., processing instructions, before the root
> element.
>
> Betty
>
>> Gotcha.  I was thinking dev.  So is this a matter of manipulating the
>> HTTP
>> headers, instructing the browser to display the file download dialog?
>>
>> -Brent
>>
>> -----Original Message-----
>> From: Betty Harvey [mailto:[email protected]]
>> Sent: Wednesday, December 07, 2011 8:41 AM
>> To: Brent Hartwig
>> Cc: General MarkLogic Developer Discussion; [email protected]
>> Subject: RE: [MarkLogic Dev General] <xsl:result-document> equivalent
>>
>> Thanks Brent - I prefer not to store it in MarkLogic but in a pinch it
>> will work|-)!
>>
>> Betty
>>
>>> Hi, Betty,
>>>
>>> Would xdmp:save() work?  It writes a node to a specified path on the ML
>>> server.
>>>
>>> -Brent
>>>
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf Of Betty
>>> Harvey
>>> Sent: Wednesday, December 07, 2011 8:32 AM
>>> To: General MarkLogic Developer Discussion
>>> Subject: [MarkLogic Dev General] <xsl:result-document> equivalent
>>>
>>> I am creating a very large file.  The result file crashes the browser
>>> when
>>> running it directly using http or using CQ because of its size.
>>>
>>> Is there an equivalent function in MarkLogic of <xsl:result-document>
>>> so
>>> the file can be saved directly on the file system.
>>>
>>> TIA!
>>>
>>> Betty
>>>
>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>>> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
>>> Electronic Commerce Connection, Inc. |
>>> [email protected]                    | Washington,DC XML Users Grp
>>> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
>>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>>> Member of XML Guild (www.xmlguild.org)
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://developer.marklogic.com/mailman/listinfo/general
>>>
>>
>>
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
>> Electronic Commerce Connection, Inc. |
>> [email protected]                    | Washington,DC XML Users Grp
>> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>> Member of XML Guild (www.xmlguild.org)
>>
>
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
> Electronic Commerce Connection, Inc. |
> [email protected]                    | Washington,DC XML Users Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> Member of XML Guild (www.xmlguild.org)
>


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
Electronic Commerce Connection, Inc. |
[email protected]                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Member of XML Guild (www.xmlguild.org)
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to