Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

h1. ?????? "??????????, ???\!"

???????? ?? ???????? ??????? ???????, ? ??? ???????????? ???????? ???????? ?????? ? PDI:
* ?????? ? ??????????????? Spoon
* ??????????????
* ???? ? ????????
* ???????????????? ??????????
* ??????????????? ???????? ? ?????????? ?? Spoon
* ?????????? ?????????????? ?? ???? ????????? ?????????? Pan.

h2. ????????

??? ?????? ?????????????? ??? ?????????? ?????? ??????? ? ???? ????? ? ??????? CSV ?????, ? ?????????? ??????? XML ???? ? ???????????? ??? ??????? ?? ???.

???? ?????????? CVS ????? ??? ????????? ?????:
{code}
???????,???
??????,????
????????,??????
???????,????
????????,?????
???????,???????
???????,????
{code}
?? ??????? XML ???? ????? ????????? ????? ????:
{code}
- <Rows>
  - <row>
        <msg>??????????, ????!</msg>
    </row>
  - <row>
        <msg>??????????, ??????!</msg>
    </row>
  - <row>
        <msg>??????????, ????!</msg>
    </row>
  - <row>
        <msg>??????????, ?????!</msg>
    </row>
  - <row>
        <msg>??????????, ???????!</msg>
    </row>
  - <row>
        <msg>??????????, ????!</msg>
    </row>
  </Rows>
{code}
????? ?????????? ??????? ?????????????? ????? ???????? ???? ??????????? ?? ?????.

? ????? ????? ?????????????? ??????? ?? ??????? ????? (Step) ????????? ?????????? (Hop). ?????? ???? ? ???????? ?????????? ???? ??????????? ??????? ??????. ?? ???? ???????, ??? ?????????????? _?????????????? ?? ????? ??????_.

h2. ?????????? ?????????

?? ??????? ?????????????? ?????????? ??????? ????? *Tutorial* ? ???????? ??????????? ??? ????? ?????? ?????. ? ??? ????? ???????? ??? ????? ?? ??????? ???????. ????? ????????? CSV ???? ? ??????????? ???? ???????????, ? ??????????? ? ????? *Tutorial* ??? ?????? *list.csv*.

h2. ?????????? ?? ??????????????

???????????? ?????? ????? ????????? ?? ??? ?????:
# ???????? ??????????????
# ?????????? ??????? ?????????????? ?? ????????? ????? ? ?????????
# ????????? ????? ? ???????????? ? ???????????? ?? ??? ????????

h3. ???????? ??????????????

# ??????? *New*, ????? ???????? *Transformation*. ???? ????????? ? ???? *File* ? ???????? *New*, ? ????? *Transformation*. ????? ???????? ?????????? ?????? *Ctrl-N*.
# ?????? *Transformation*, ?????? *Settings...*.
# ??????????? ???? ????????? ?????? ????????? ??? ??????????????. ?? ??? ??????? ??????? ?????????? ?????? ???? ???? ???????? ?????????????? (Transformation name) ? ???????? (Description), ????? ?????? *Save*.
# ????????? ?????????????? ? ???????? *Tutorial* ??? ?????? *hello*. ??? ???????? ??????? ???? *hello.ktr*.

h3. ?????????? ??????? ?????????????? ?? ????????? ????? ? ?????????

?? ????????? ????????? _?????_ ??????? ?????? ??????????????. ?? ????? ???????????? ????? ? ?????? ??????? ???????????? ????????? ?????????? ?? ???? (Input) ? ????? (Output) ?????? ??/??? ??????? ??????????/??????????. ?????? ?? ????? ?????????? ???, ????? ??? ?????????? ???????????? ????????? ??? ???????????? ???????, ???????? ??? ?????? ???????????? ?????????? ??? ???????????? ?????? ????????? ??????.

_???????_ ??? ??????????? ????????????? ???????? ?????? ????? ????? ?????? ?? ????????? ? ?????????. ?????? ???????????? ?? ????????? ???????? ????????? ?? ???? ????????? ?????? (Output Data) ? ????????????? ??? ????????? ?? ???? ???????? ?????? (Input Data). ? ?????? ???????? ???? ?????? ???? ?????? ? ???? ?????????, ?? ????? ??????? ????????? ????????? ??????? ????? ???????? ?? ?????? ????. ??? ????? ??????? ????????? ?????? ????? ???? ??????????? ??? ???????????? ????? ?????? ?? ??????????. ??????????, ?????? ??? ???? ??? ????? ????????? ????????????? ????. ? ????? ??????? ??? ?????? ???????? ???????????? ?????????? ???????? ?????? ?? ?????????? ??????????, ????? ??????? ?????? ????? ????????? ??????.

?????????????? ?????? ????????? ????????? ???????:
* ???????? ?????? ?? ????? ??????? CSV
* ???????????? ???????????
* ????????? ??????????? ? ????? ??????? XML

??? ??????? ?? ???? ??????? ?????????? ???????????? ????????? ????, ???????? ?????????????? ???? ?????:

!PDI-Hello-World-3-1.png!

? ?????? ??????? ???????? ????? ???????? ? ?????? ?????????? ??? ???? ? ??????, ??? ??????????? ?????????????? ????? ???????, ?? ??? ?????? ?? ??????.

??? ???? ????? ?????? ????????? ?????????????? ??????????:
# ? ???? ?????????? Spoon ??????????? ?????? *Steps Palette*, ? ??? ???????? ????????? *Input*.
# ?????????? ?????? *CSV file* ? ??????? ??????? ??????.
# ???????? ????????? *Scripting*.
# ?????????? ?????? *Modified JavaScript Value* ? ??????? ???????.
# ???????? ????????? *Output*.
# ?????????? ?????? *XML Output* ? ??????? ???????.

?????? ?????????? ???????????? ????? ????? *CSV file input* ? *Modified Java Script Value* ?????? ???????:
# ??????? ?????? ??????? ????.
# ????????? ?? ?????????? *Shift* ??????????? ?????? ?? ?????? ??????? ????.
# ?????????? ????? ????? *Modified Java Script Value* ? *XML Output* ???????? ????????.

!PDI-Hello-World-3-2.png!

h3. ????????? ????? ? ???????????? ? ???????????? ?? ??? ????????

??? ??????? ?? ????? ????????????? ???? ??????????????? ????????. ? ?????? ???? ??????????????? ????????? ???????????? ?????????????? ??????????? ??????? ???? ????? ? ????????? ? ??????? ??? ?????????. ??? ???? ???????????? ???? (Step Name) ?????????? ??? ??????????? ? ??????????????, ?? ????? ?? ?????????????? ??????????? ????. ???????? ???? (Step Description) ???????? ????????? ???? ?????????? ????, ? ????? ?? ?????? ?? ?????????????? ???????????.

h4. ????????? ???? ???? ?? CSV ????? (CSV file input)

!PDI-Hello-World-3-3.png!

{scrollbar}