Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runnable XML mapping sample #86

Open
3 tasks
mchlrch opened this issue Mar 27, 2020 · 2 comments
Open
3 tasks

Runnable XML mapping sample #86

mchlrch opened this issue Mar 27, 2020 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation xml

Comments

@mchlrch
Copy link
Member

mchlrch commented Mar 27, 2020

Add a CARML XML mapping sample to rdf-mapping-dsl-user repository. Including the plumbing for processing with carml-cli.

This sample mapping should include the following constructs:

@mchlrch mchlrch added documentation Improvements or additions to documentation xml labels Mar 27, 2020
@mchlrch mchlrch self-assigned this Mar 27, 2020
@mchlrch
Copy link
Member Author

mchlrch commented May 12, 2021

For how to use carm-cli with streamName "stdin":
https://zulip.zazuko.com/#narrow/stream/34-rdf-workbench/topic/carml/near/176562

You can use the carml-cli to convert XML https://github.com/netage/carml-cli/releases/
And run it like this: java -jar lib/cli-1.0.1-SNAPSHOT-jar-with-dependencies.jar -m src-gen/mapping.carml.ttl < input/foo.xml

This reads the XML from stdin. For this to work, you need to have source "stdin" in the xrm logical source. Something like this:

logical-source mysource {
type xml
source "stdin"

@mchlrch
Copy link
Member Author

mchlrch commented Mar 15, 2023

There is now a template pipeline repo for XML

zazuko/xrm-xml-workflow#1

Once the repo naming is settled, links to the template repo should be added to the READMEs in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation xml
Projects
None yet
Development

No branches or pull requests

1 participant