Search found 7 matches

by jon
Mon Aug 11, 2014 9:24 pm
Forum: XQuery
Topic: Compress a collection to a zip folder
Replies: 1
Views: 2019

Compress a collection to a zip folder

Hi guys, I use eXist 2.2RC1 for this project. I need to archive the contents of a collection (two .doc and a .vbs files) to a zip file using xQuery. After some research, I found out about two functions that could help me out: - compression:zip() - response-stream-binary() Now, the first function app...
by jon
Wed Jul 16, 2014 6:55 pm
Forum: General XML Questions
Topic: Xquery - Output DocType
Replies: 2
Views: 1357

Re: Xquery - Output DocType

Hi Adrian,

I use eXist 2.1 for this application. Via the eXide dashboard, I just run the "Run" command and get the output in the "XML Output" console, which also is on the Dashboard.
I don't use oXygen here.
by jon
Wed Jul 16, 2014 2:17 am
Forum: General XML Questions
Topic: Xquery - Output DocType
Replies: 2
Views: 1357

Xquery - Output DocType

Hi all, I have an xquery file (.xql) that I use to generate an XML table via an xquery module (.xqm). The module contains a function that generates a table similar to this: <Doctype> <Table> <Row> <Entry> </Entry> </Row> </Table> </Doctype> I retrieve this table in the .xql file. Now, I would like t...
by jon
Tue May 20, 2014 7:01 pm
Forum: XML Schemas
Topic: DTD Modifications Issues
Replies: 2
Views: 1304

Re: DTD Modifications Issues

Thank you Adrian! <!ELEMENT entry ANY> did the trick for allowing any child element for <entry> tags. I was focusing on trying to change the existing entity but this solution is way more straightforward and makes more sense! About the non-unicity of IDs, I actually have a table that has an indefinit...
by jon
Mon May 19, 2014 7:23 pm
Forum: XML Schemas
Topic: DTD Modifications Issues
Replies: 2
Views: 1304

DTD Modifications Issues

Hi, I've been modifying my DTD and have two issues. 1) I want to allow @id attributes not to be unique anymore. For that, I replaced all the occurrences of the type of @id: from ID (i.e. a unique ID) to CDATA. I also made sure to replace those occurrences in dependent .dtd or .mod files. Still, it s...
by jon
Thu Mar 06, 2014 10:12 pm
Forum: Other Issues
Topic: Open URL - Set File Name
Replies: 3
Views: 913

Re: Open URL - Set File Name

Thanks Adrian.
I wasn't clear enough, the content is handled correctly (eventhough I hadn't enabled the option you mentioned), but it's really just the file name I wanted to change (like, even call it "untitled" or any default name).
by jon
Thu Mar 06, 2014 9:21 pm
Forum: Other Issues
Topic: Open URL - Set File Name
Replies: 3
Views: 913

Open URL - Set File Name

Hi everyone, I have a PHP script that generates a DITA file from an HTML page using the PHP transformToXml() method. Then when I want to open the resulting DITA file via its URL, oXygen will set the file name to the PHP script automatically. Here is the URL I am using (changed for privacy): http://w...

Go to advanced search