Well in geonetwork each service returns a block of XML. Geonetwork defines some xml elements to add to the XML the result and each service can add extra XML as well. The basic structure is:
/root
/ gui
/ strings
/
/ session
/ env
/ language
/ reqService
/ url
/ locUrl
/ service
/ locService
/
/ request
You can usually see the xml before the xsl change by adding a ! to the service name for example:
http://localhost:8080/geonetwork/srv/en/admin!
Back to your question. The locUrl, url, locService,etc… allow you to create relative urls to invoke other services. the locUrl had the language code so that when you go from one service to another you will keep the same local. url is essentially the servlet name. Normally it is geonetwork.
Not sure this answers your question but hopefully it helps you find the answer.
Jesse
On Mon, Oct 8, 2012 at 8:45 AM, Saher Murad <sahermurad@anonymised.com> wrote:
Hi,
Please could anyone guide how to write url in geonetwork 2.6.4?
I want to create a new page for home page, so for this i want to understand
the flow of the url in GN.
I couple of .xsl file i have seen
action=“{/root/gui/locService}/main.search”, i cannot understand what is
locService and how this url works?
Best Regards,
Saher
–
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-write-URL-in-Geonetwork-2-6-4-tp5007019.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
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