[GeoNetwork-devel] main.search.embedded style works?

Hi,

I saw a service definition in WEB-INF\config.xml called main.search.embedded, but I try the URL request: http://cedai.imedea.uib-csic.es/geonetwork/srv/es/main.search.embedded?category=Proyectos and I obtain the info in XML without any format.

Is there any way to see the result formatted?

Thanks,

Miguel Gonzalez

Hi Miguel,

On Thu, Oct 10, 2013 at 1:57 PM, Miguel <gselmer@anonymised.com> wrote:

Hi,

I saw a service definition in WEB-INF\config.xml called
main.search.embedded, but I try the URL request:
http://cedai.imedea.uib-csic.es/geonetwork/srv/es/main.search.embedded?category=Proyectos
and I obtain the info in XML without any format.

Is there any way to see the result formatted?

You want the same XML but formatted? Some browsers format the XML they
display (for example, chrome or firefox). Which app are you using?

Regards,
María.

Thanks,

Miguel Gonzalez

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
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

On Thu, Oct 10, 2013 at 4:25 PM, Miguel <gselmer@anonymised.com> wrote:

Hi Maria,

that's the problem, it must works in differents browsers, anyway in Firefox
and in Chrome I only can see xml code...

Hi Miguel,

XML by itself does not have format nor style. It is the application
you use to see the XML who gives style to the XML.

If you don't want plain XML, maybe you should look for some other
service more oriented to user interfaces.
If you want plain XML, you can use this service, but it is your app
(text editor, browser) who should add color and tabulation to the XML
text.

I hope it helps you,
María.

Thanks for your help,

Miguel

El 10/10/2013 14:03, María Arias de Reyna escribió:

Hi Miguel,

On Thu, Oct 10, 2013 at 1:57 PM, Miguel <gselmer@anonymised.com> wrote:

Hi,

I saw a service definition in WEB-INF\config.xml called
main.search.embedded, but I try the URL request:

http://cedai.imedea.uib-csic.es/geonetwork/srv/es/main.search.embedded?category=Proyectos
and I obtain the info in XML without any format.

Is there any way to see the result formatted?

You want the same XML but formatted? Some browsers format the XML they
display (for example, chrome or firefox). Which app are you using?

Regards,
María.

Thanks,

Miguel Gonzalez

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
the latest Intel processors and coprocessors. See abstracts and register
>

http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
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

Hi Miguel,

the returned content is HTML, but it is not included in any <html> or <body>
tag, since the service was made to generate content to be 'embedded' in an
existing page. The styles should be defined in the embedding page.

   Cheers,
   Emanuele

Alle 13:57:54 di Thursday 10 October 2013, Miguel ha scritto:

Hi,

I saw a service definition in WEB-INF\config.xml called
main.search.embedded, but I try the URL request:
http://cedai.imedea.uib-csic.es/geonetwork/srv/es/main.search.embedded?cate
gory=Proyectos and I obtain the info in XML without any format.

Is there any way to see the result formatted?

Thanks,

Miguel Gonzalez

---------------------------------------------------------------------------
--- October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from the latest Intel processors and coprocessors. See abstracts and
register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktr
k _______________________________________________
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