[GeoNetwork-devel] [GeoNetwork-users] how to modify many xmlfiles at once ?? [SEC=UNCLASSIFIED]

Hi All,

Theoretically all this could be managed using inheritance via XLINK. The ISO
19139 XSDs allow XLINK attributes for some entities. For example,
CI_ResponsibleParty. This holds the information about an organisation and is
likely to be constant for multiple metadata records. If this is stored in a
metadata record about the organisation then all other metadata records could
inherit this information using XLINK. If the details of that organisation
changes, such as its name, telephone number, address etc., then only the
metadata record for the organisation needs to be edited and all other
metadata records would inherit these changes.

Unfortunately, I believe that GeoNetwork doesn't yet use XLINK for
inheritance and so it doesn't solve Lukasz's current problem. It also only
applies to entities that can have XLINK attributes. Many RDBMS now have
XML objects and could be able to use XLINK between these XML objects so maybe
it could be a consideration for the next GN release. ;--)

Thanks.

John

-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] On
Behalf Of François-Xavier PRUNAYRE
Sent: Tuesday, 17 July 2007 11:32 PM
To: 'Lukasz_Sobotowski'
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] [GeoNetwork-users] how to
modify many xmlfiles at once ??

AFAIK there's no plan to have such a functionality into GeoNetwork.

I think on the mailing list there are some people using
pl/sql to do such an update. I've also made some php to do
batch update ... but that's always quite a mess to set up
that kind of update. Looping over all metadata and updating
the xml parts ... If using that, take care of encoding to not
to corrupt all xml files.

The use of an XML native db could be very very useful to do such jobs!

Cheers.
Francois

-----Message d'origine-----
De : geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] De la
part de Lukasz_Sobotowski
Envoyé : lundi 16 juillet 2007 13:08
À : geonetwork-users@lists.sourceforge.net
Objet : [GeoNetwork-users] how to modify many xml files at once ??

Hi,I have a question. If in GN it is possible to modify more
then one file atonce?? When in database will be many metadata
files (for example 10000) it will bedifficult to plot some
changes to series. Then it is needed to modify forexample 700
metadata files. It will took a lot of time. Is it possible
tomodify more then one xml file at once ?? If not do you plan
to include thisin short time ??
Kind regards,Łukasz-- View this message in context:
http://www.nabble.com/how-to-modify-many-xml-files-at-once----
tf4085949s18419.html#a11613200Sent from the geonetwork-users
mailing list archive at Nabble.com.

--------------------------------------------------------------
-----------This SF.net email is sponsored by DB2
ExpressDownload DB2 Express C - the FREE version of DB2
express and takecontrol of your XML. No limits. Just data.
Click to get it
now.http://sourceforge.net/powerbar/db2/______________________
_________________________GeoNetwork-users mailing
listGeoNetwork-users@...181...://lists.source

forge.net/lists/listinfo/geonetwork-usersGeoNetwork OpenSource is >
maintained at http://sourceforge.net/projects/geonetwork

--------------------------------------------------------------
-----------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork