forked from geolba/tethys.frontend
- npm updates
- datcite ListRecords request to json - xslt tansfomation in the browser
This commit is contained in:
parent
f1de1c30e7
commit
27c4563628
3 changed files with 2117 additions and 2550 deletions
|
@ -183,6 +183,19 @@ class DatasetService {
|
|||
const oaiDatasets = api.get<string>(apiUrl).pipe(
|
||||
map(
|
||||
(response: string) => {
|
||||
// const parser = new DOMParser();
|
||||
// const xmlDoc: XMLDocument = parser.parseFromString(response, "application/xml");
|
||||
|
||||
// const xslDoc = parser.parseFromString(this.xsl, "application/xml");
|
||||
// const xsltProcessor = new XSLTProcessor();
|
||||
// xsltProcessor.importStylesheet(xslDoc);
|
||||
// console.log(xmlDoc);
|
||||
// const xmlDom = xsltProcessor.transformToDocument(xmlDoc);
|
||||
|
||||
// const serializer = new XMLSerializer();
|
||||
// const html = serializer.serializeToString(xmlDom.documentElement);
|
||||
// console.log(html);
|
||||
|
||||
// const arrOai = new Array<OaiDataset>();
|
||||
// return arrOai;
|
||||
const arrOai = this.parseXML(response);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue