Hello,
I am creating some new custom services in Geonetwork.
As part of the service I need to retrieve the title of a particular piece of metadata. I originally thought that I would could use the xml.metadata.get service to do this. This yields the following XML:
...
<gmd:title>
<gco:CharacterString>Template for WMS service in ISO19139/119 TEST</gco:CharacterString>
</gmd:title>
...
I presume for data in different schemas the <gmd:title> element could change, so this isn't really preferable.
However if I access portal.get (as a service), which calls the same code combined with a metadata lookup I get the following:
...
<metadata><title>Template for WMS service in ISO19139/119 TEST</title>
...
Which is what I want. What is the correct way to perform the XSL transform from Java? Or am I looking at this the wrong way? Is there a better way of getting the title back from a metadata record?
Cheers,
James Sewell
Solutions Architect
LISAsoft
________________________________
Ph: +61 3 8680 3250 Fax: +61 3 8680 3299
Level 9, 601 Bourke St, Melbourne Vic 3000
________________________________
________________________________
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.