Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-15 Thread Kevin Cline
Thanks! That's great!

Kevin

On Thu, Nov 15, 2018 at 9:46 AM Christian Grün 
wrote:

> Thanks for the kudos ;) The new snapshot is online [1].
>
> @Kevin: The project-specific XML suffixes can now be adjusted via the
> GUI Preferences dialog.
> @Liam: epub is now detected as archive suffix.
>
> [1] http://files.basex.org/releases/latest/
>
>
>
> On Wed, Nov 14, 2018 at 9:16 PM Liam R. E. Quin 
> wrote:
> >
> > On Wed, 2018-11-14 at 19:20 +0100, Christian Grün wrote:
> > > Good news: It has already been implemented, and it will be available
> > > soon
> > > after we’ve done some more testing!
> >
> > you people are beyond awesome! :D
> >
> > >
> >
> >
> > --
> > Liam Quin - web slave for https://www.fromoldbooks.org/
> > with fabulous vintage art and fascinating texts to read.
> > Click here to have the slave beaten.
> >
>


Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-15 Thread Christian Grün
Thanks for the kudos ;) The new snapshot is online [1].

@Kevin: The project-specific XML suffixes can now be adjusted via the
GUI Preferences dialog.
@Liam: epub is now detected as archive suffix.

[1] http://files.basex.org/releases/latest/



On Wed, Nov 14, 2018 at 9:16 PM Liam R. E. Quin  wrote:
>
> On Wed, 2018-11-14 at 19:20 +0100, Christian Grün wrote:
> > Good news: It has already been implemented, and it will be available
> > soon
> > after we’ve done some more testing!
>
> you people are beyond awesome! :D
>
> >
>
>
> --
> Liam Quin - web slave for https://www.fromoldbooks.org/
> with fabulous vintage art and fascinating texts to read.
> Click here to have the slave beaten.
>


Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-14 Thread Liam R. E. Quin
On Wed, 2018-11-14 at 19:20 +0100, Christian Grün wrote:
> Good news: It has already been implemented, and it will be available
> soon
> after we’ve done some more testing!

you people are beyond awesome! :D

> 


-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.



Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-14 Thread Christian Grün
Good news: It has already been implemented, and it will be available soon
after we’ve done some more testing!



Am Mi., 14. Nov. 2018, 19:17 hat Liam R. E. Quin 
geschrieben:

> On Tue, 2018-11-06 at 18:32 +0100, Christian Grün wrote:
> > Hi Kevin,
> >
> > I’ll probably add an editable list of XML suffixes to the GUI
> > preference dialog.
>
> I think this would be very helpful - recently i was making an index of
> some epub files - they are zip'd directories of (mostly) XML, but i
> have re name them to end in .zip and/or expand them and rename
> individual files right now. Or write a query to do it :)
>
>
> --
> Liam Quin, https://www.holoweb.net/liam/cv/
> Web slave for vintage clipart http://www.fromoldbooks.org/
> Available for XML/Document/Information Architecture/
> XSL/XQuery/Web/Text Processing/A11Y work & consulting.
>
>


Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-14 Thread Liam R. E. Quin
On Tue, 2018-11-06 at 18:32 +0100, Christian Grün wrote:
> Hi Kevin,
> 
> I’ll probably add an editable list of XML suffixes to the GUI
> preference dialog. 

I think this would be very helpful - recently i was making an index of
some epub files - they are zip'd directories of (mostly) XML, but i
have re name them to end in .zip and/or expand them and rename
individual files right now. Or write a query to do it :)


-- 
Liam Quin, https://www.holoweb.net/liam/cv/
Web slave for vintage clipart http://www.fromoldbooks.org/
Available for XML/Document/Information Architecture/
XSL/XQuery/Web/Text Processing/A11Y work & consulting.



Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-06 Thread Christian Grün
Hi Kevin,

I’ll probably add an editable list of XML suffixes to the GUI
preference dialog. This suffix list will then be considered in all GUI
operations that check for the file type (file dialogs; set query
context; highlighting; database creation; etc). I’ll give you an
update once this will be available.

Best,
Christian


On Mon, Nov 5, 2018 at 7:00 PM Kevin Cline  wrote:
>
> Hi Christian,
>
> In this case, I'm dealing with just a few different extensions used by
> various linguistic software. While it would solve my problem, I'm not
> sure how helpful it would be others to include them in the static
> suffix list. Something more general might be helpful for others.
>
> The extensions I'm working with are .fwdata, .flextext, .lift, and
> .lift-ranges. All are just XML files.
>
> Thanks,
>
> Kevin
>
> On Mon, Nov 5, 2018 at 11:43 AM Christian Grün
>  wrote:
> >
> > Hi Kevin,
> >
> > Do your files have a typical XML file suffix, or do you have all kinds
> > of suffixes that are usually not associated with XML data? In the
> > first case, we could easily extend our static suffix list; in the
> > latter case, I’ll think about some more alternatives.
> >
> > Best,
> > Christian
> >
> >
> >
> > On Mon, Nov 5, 2018 at 4:52 PM Kevin Cline  wrote:
> > >
> > > Hello,
> > >
> > > In the GUI, is there any way to set the query context to an XML file that 
> > > has an extension other than .xml ?
> > >
> > > Renaming the file works, obviously, but this isn't ideal, as the source 
> > > of the data exports to and imports from another extension.
> > >
> > > Also, is it possible to enable syntax highlighting for XML files without 
> > > changing the extension? I added the extension in 
> > > Options->Preferences->File Filter, but nothing changed.
> > >
> > > Thank you for your help.


Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-05 Thread Kevin Cline
Hi Christian,

In this case, I'm dealing with just a few different extensions used by
various linguistic software. While it would solve my problem, I'm not
sure how helpful it would be others to include them in the static
suffix list. Something more general might be helpful for others.

The extensions I'm working with are .fwdata, .flextext, .lift, and
.lift-ranges. All are just XML files.

Thanks,

Kevin

On Mon, Nov 5, 2018 at 11:43 AM Christian Grün
 wrote:
>
> Hi Kevin,
>
> Do your files have a typical XML file suffix, or do you have all kinds
> of suffixes that are usually not associated with XML data? In the
> first case, we could easily extend our static suffix list; in the
> latter case, I’ll think about some more alternatives.
>
> Best,
> Christian
>
>
>
> On Mon, Nov 5, 2018 at 4:52 PM Kevin Cline  wrote:
> >
> > Hello,
> >
> > In the GUI, is there any way to set the query context to an XML file that 
> > has an extension other than .xml ?
> >
> > Renaming the file works, obviously, but this isn't ideal, as the source of 
> > the data exports to and imports from another extension.
> >
> > Also, is it possible to enable syntax highlighting for XML files without 
> > changing the extension? I added the extension in Options->Preferences->File 
> > Filter, but nothing changed.
> >
> > Thank you for your help.


Re: [basex-talk] Support for XML with different file extension in GUI

2018-11-05 Thread Christian Grün
Hi Kevin,

Do your files have a typical XML file suffix, or do you have all kinds
of suffixes that are usually not associated with XML data? In the
first case, we could easily extend our static suffix list; in the
latter case, I’ll think about some more alternatives.

Best,
Christian



On Mon, Nov 5, 2018 at 4:52 PM Kevin Cline  wrote:
>
> Hello,
>
> In the GUI, is there any way to set the query context to an XML file that has 
> an extension other than .xml ?
>
> Renaming the file works, obviously, but this isn't ideal, as the source of 
> the data exports to and imports from another extension.
>
> Also, is it possible to enable syntax highlighting for XML files without 
> changing the extension? I added the extension in Options->Preferences->File 
> Filter, but nothing changed.
>
> Thank you for your help.


[basex-talk] Support for XML with different file extension in GUI

2018-11-05 Thread Kevin Cline
Hello,

In the GUI, is there any way to set the query context to an XML file that
has an extension other than .xml ?

Renaming the file works, obviously, but this isn't ideal, as the source of
the data exports to and imports from another extension.

Also, is it possible to enable syntax highlighting for XML files without
changing the extension? I added the extension in Options->Preferences->File
Filter, but nothing changed.

Thank you for your help.