-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
We propose in this document to expose how to use the XLST can be used to process the XML file generated with src/zbmath_rest2oai/getAsXml.py. | ||
|
||
Environment request: | ||
|
||
_ JDK version 8 | ||
|
||
_ Maven 3 | ||
|
||
Install the package : | ||
|
||
https://github.com/physikerwelt/xstlprocJ | ||
|
||
Point the folder xstlprocJ, copy the files xslt-article-transformation.xslt and plain.xml then execute the shell command: | ||
|
||
```shell | ||
:~/xstlprocJ$ bash xsltprocJ xslt-article-transformation.xslt plain.xml | ||
Warning: at xsl:stylesheet on line 2 column 255 of xslt-article-transformation.xslt: | ||
Running an XSLT 1 stylesheet with an XSLT 2 processor | ||
|
||
``` | ||
|
||
This command outputs the following XML document | ||
|
||
```xml | ||
<?xml version="1.0" encoding="UTF-8"?><oai_zb_preview xmlns:oai_zb_preview="https://zbmath.org/OAI/2.0/oai_zb_preview/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:zbmath="https://zbmath.org/zbmath/elements/1.0/"><author>Maynard, James</author><author_ids><author_id>maynard.james</author_id></author_ids><classifications><classification>11N05</classification><classification>11N36</classification></classifications></oai_zb_preview>maz@BE000078:~/xstlprocJ$ | ||
``` |