Commit ada748b2 authored by simei.yin's avatar simei.yin

update README

parent 62615c4f
...@@ -33,20 +33,20 @@ User stories ...@@ -33,20 +33,20 @@ User stories
Step by step : Step by step :
[`Step 1 : File transformation`] [`Step 1 : File transformation`]
- Put the files .hdoc you want to deal with in the folder [input](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/input) 1. Put the files .hdoc you want to deal with in the folder [input](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/input)
- Run the transformation progam (Win : double click run.bat, Linux : execute run.sh) 2. Run the transformation progam (Win : double click run.bat, Linux : execute run.sh)
- This transformation includes : 3. This transformation includes :
* Title, authors, keywords * Title, authors, keywords
* First Level section : title, type, paragraphs * First Level section : title, type, paragraphs
[`Step 2 : Create data base in basex`] [`Step 2 : Create data base in basex`]
- Download and install [BaseX](http://basex.org/products/download/all-downloads/) 1. Download and install [BaseX](http://basex.org/products/download/all-downloads/)
- Run BasexGui 2. Run BasexGui
- In the Text Editor of BaseX, open the command script "createbd.bxs" in folder [`command`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/basex/command). 3. In the Text Editor of BaseX, open the command script "createbd.bxs" in folder [`command`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/basex/command).
Follow the instructions in the script, and then execute it. Follow the instructions in the script, and then execute it.
[`Step 3 : Make XQuery request`] [`Step 3 : Make XQuery request`]
- In the Text Editor of BaseX, you can open and execute xquery script "main.xq" in folder [`xquery`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/basex/xquery). 1. In the Text Editor of BaseX, you can open and execute xquery script "main.xq" in folder [`xquery`](https://gitlab.utc.fr/crozatst/hdoc/tree/master/hdoc_to_basex/basex/xquery).
It's in this main module that we call predefined functions and execute script It's in this main module that we call predefined functions and execute script
- .xqm files are library modules where we have defined functions, we can go to these files for more detailed using instructions - .xqm files are library modules where we have defined functions, we can go to these files for more detailed using instructions
...@@ -58,13 +58,13 @@ Step by step : ...@@ -58,13 +58,13 @@ Step by step :
TODO List TODO List
------------------ ------------------
- xlst Transformation : 1. xlst Transformation :
* Remove text formats * Remove text formats
* Sub sections * Sub sections
* Exercices * Exercices
* Resources : images, ... * Resources : images, ...
- XQuery requests : 2. XQuery requests :
* Search keywords in text * Search keywords in text
* Search sub sections by keywords in their titles * Search sub sections by keywords in their titles
* Search exercices by keywords in their titles * Search exercices by keywords in their titles
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment