[GeoNetwork-users] Apply XSLT conversion - ERROR

Hi all,
I'm tryng to set the XSLT conversion from ISO19139 to ISO19115-3.2018

I saved the xsl file in the folder
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl

I also put the folder
/root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
Here:
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/

But I got this error:

Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
  XTSE0650: No template exists named getNamespacePrefix
Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
  XTSE0650: No template exists named add-iso19115-3.2018-namespaces
Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement

Is there something I'm still missing or doing wrong?

Thanks in advance

Bartolomeo

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@anonymised.com<mailto:bartolomeo.ventura@anonymised.com>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;

Hi,

Add `ISO19139-to-ISO19115-3-2018.xsl` and
`ISO19115-3-2014-to-ISO19115-3-2018.xsl` to the
`/web/src/main/webapp/xsl/conversion/import` folder.

HTH

Francois

Le mer. 15 mai 2019 à 16:58, Ventura Bartolomeo <
bartolomeo.ventura@anonymised.com> a écrit :

Hi all,
I'm tryng to set the XSLT conversion from ISO19139 to ISO19115-3.2018

I saved the xsl file in the folder

/root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl

I also put the folder

/root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
Here:
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/

But I got this error:

Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
  XTSE0650: No template exists named getNamespacePrefix
Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
  XTSE0650: No template exists named add-iso19115-3.2018-namespaces
Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement

Is there something I'm still missing or doing wrong?

Thanks in advance

Bartolomeo

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@anonymised.com<mailto:bartolomeo.ventura@anonymised.com>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/&gt;

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi,
It works even if the output is not fully validated (but the errors are the usual ones and I should be able to fix them)

I also realized that the suggestion you wrote was in the README page. Sorry for the useless question!

All the best,
Bartolomeo

From: Francois Prunayre <fx.prunayre@...54...>
Sent: Thursday, May 16, 2019 09:29
To: Ventura Bartolomeo <bartolomeo.ventura@...1518...>
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Apply XSLT conversion - ERROR

Hi,

Add `ISO19139-to-ISO19115-3-2018.xsl` and `ISO19115-3-2014-to-ISO19115-3-2018.xsl` to the `/web/src/main/webapp/xsl/conversion/import` folder.

HTH

Francois

Le mer. 15 mai 2019 à 16:58, Ventura Bartolomeo <bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…>> a écrit :
Hi all,
I'm tryng to set the XSLT conversion from ISO19139 to ISO19115-3.2018

I saved the xsl file in the folder
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl

I also put the folder
/root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
Here:
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/

But I got this error:

Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
  XTSE0650: No template exists named getNamespacePrefix
Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
  XTSE0650: No template exists named add-iso19115-3.2018-namespaces
Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement

Is there something I'm still missing or doing wrong?

Thanks in advance

Bartolomeo

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
bartolomeo.ventura@...1518...<mailto:bartolomeo.ventura@…1518…><mailto:bartolomeo.ventura@…1518…>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu><http://www.eurac.edu/&gt;

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork