You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Colin Law <c....@elec.gla.ac.uk> on 2003/07/16 13:41:51 UTC

storing SVG

Hi,

I am currently trying to get to grips with the whole xmldb concept, so I
apologize if this question is a little OT.

I am writing an application that will make use of a number (~80) SVG
images per project. I would like to add each image to a central image
repository, that may be queried on certain attributes, image content
etc. 

So, broadly speaking, would Xindice make a good container for SVG
images?

Thanks
~Colin.




RE: Xindice - embed, how do you change the default database location?

Posted by Kevin Ross <Ke...@iVerticalLeap.com>.
You should take a look at the embed driver for more details...but...it
looks like if you specify the jvm property 'xindice.configuration' with
the real path, it will us it first, otherwise the fallback default.

Since an embedded application has no knowledge of a webabb (or WEB-INF),
it has no way to resolve the location of your file.

-Kevin Ross

-----Original Message-----
From: Stephan Jones [mailto:stevej@redpillconsulting.com] 
Sent: Wednesday, July 16, 2003 9:21 PM
To: xindice-users@xml.apache.org
Subject: Xindice - embed, how do you change the default database
location?

I have seen the question r several times. Does anyone have an answer
other
than hacking the source code?
I have placed system.xml in the web-inf directory of my application.

Thank you




Xindice - embed, how do you change the default database location?

Posted by Stephan Jones <st...@redpillconsulting.com>.
I have seen the question r several times. Does anyone have an answer other
than hacking the source code?
I have placed system.xml in the web-inf directory of my application.

Thank you





RE: storing SVG

Posted by Kevin Ross <Ke...@iVerticalLeap.com>.
Yes, you are in the right place :)

-----Original Message-----
From: Colin Law [mailto:c.law@elec.gla.ac.uk] 
Sent: Wednesday, July 16, 2003 7:10 AM
To: xindice-users@xml.apache.org
Subject: Re: storing SVG

On Wed, 2003-07-16 at 13:59, Devrim Ergel wrote:
> Do you want to store images as binary files or its metadata? For each
cases
> you can use Xindice as repository.

Perhaps this is where my understanding is letting me down. Ideally I
would like to store both the SVG image iteself, and meta data associated
with the image within the database.

Can I store the SVG itself straight into Xindice, as XML, not a binary
file? and then associate metadata with that SVG image through a second,
associated document?

or perhaps enclosing both within a container document?

<doc>
	<meta data> [...] </meta data>
	<svg data> [...] </svg data>
<doc>

I am making huge guesses at how this is supposed to work just now, but
any pointers would be appreciated.

Thanks,
~Colin.


Re: storing SVG

Posted by Colin Law <c....@elec.gla.ac.uk>.
On Wed, 2003-07-16 at 13:59, Devrim Ergel wrote:
> Do you want to store images as binary files or its metadata? For each cases
> you can use Xindice as repository.

Perhaps this is where my understanding is letting me down. Ideally I
would like to store both the SVG image iteself, and meta data associated
with the image within the database.

Can I store the SVG itself straight into Xindice, as XML, not a binary
file? and then associate metadata with that SVG image through a second,
associated document?

or perhaps enclosing both within a container document?

<doc>
	<meta data> [...] </meta data>
	<svg data> [...] </svg data>
<doc>

I am making huge guesses at how this is supposed to work just now, but
any pointers would be appreciated.

Thanks,
~Colin.


Re: storing SVG

Posted by Devrim Ergel <de...@parsera.com>.
Hello,

Do you want to store images as binary files or its metadata? For each cases
you can use Xindice as repository.

We are currently storing the image with its binary file and its metadata in
Xindice. Our images sizes are between 50-150kb so don't give any problem.

Devrim


----- Original Message -----
From: "Colin Law" <c....@elec.gla.ac.uk>
To: <xi...@xml.apache.org>
Sent: Wednesday, July 16, 2003 2:41 PM
Subject: storing SVG


> Hi,
>
> I am currently trying to get to grips with the whole xmldb concept, so I
> apologize if this question is a little OT.
>
> I am writing an application that will make use of a number (~80) SVG
> images per project. I would like to add each image to a central image
> repository, that may be queried on certain attributes, image content
> etc.
>
> So, broadly speaking, would Xindice make a good container for SVG
> images?
>
> Thanks
> ~Colin.
>
>
>
>
>