XML eXtensible Markup Language - PowerPoint PPT Presentation

About This Presentation
Title:

XML eXtensible Markup Language

Description:

image:name, image:border, image:size, image:position ... xmlns:image='http://www.philol.msu.ru/photo' ?????????????? XML-?????? (XSLT) ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 14
Provided by: NSFG4
Category:

less

Transcript and Presenter's Notes

Title: XML eXtensible Markup Language


1
XML eXtensible Markup Language
  1. ???? ????????? ?????? XML-????????? (XPath)
  2. ???????????? ???? (Namespaces)
  3. ???? ????????????? (XSLT)

2
XPath ????????? ?????? ?????????
  • ???????? ???????
  • ????? ????? (nodeset)????????? ?? XPath (????)
    ????????? ????? ????? ? ?????????
  • ????????
  • ????????
  • ?????? ????????? (???????? ???????)
  • ?????????? / ????????????? ????
  • ????????-????
  • ???????? (???? ?????? ??????)
  • ??????-???????

3
XPath ????????? ?????? ?????????
  • ??????? ?????????
  • ???? ?? ????? (??????????) ?????????? ? /
  • ???????? ???? ????? ????? / ??? ?? ?????? (??
    ????????? ?? ????? ? ???????)
  • ? ????????? ?????? ??? ????, ?????????? ???
    ????????? ????
  • /booklist /booklist/book/author
  • ???? ??? / (?????????????) ????????? ?? ?? ?????,
    ? ?? ??????? ???????
  • book/author
  • // ????? ?????????? ?????
  • //book //author /booklist//author
  • _at_ ???????
  • //book/_at_lang

4
XPath ????????? ?????? ?????????
  • ??????? ?????????
  • . (?????) ??????? ????
  • .. (??? ?????) ???????????? ????
  • ../title (???? ?? book/author ? book/title)
  • ????? ???? ??? ???????? ?????
  • /booklist/ ??? ????
  • /booklist// ??? ?????
  • //book/_at_ ??? ????????

5
XPath ????????? ?????? ?????????
  • ????????? ? ???????? (??????????)
  • ??????? ?? ?????????? ????? ???? ? ??????
  • book2 booklast() bookposition()lt3
  • ??????? ?? ???????? ???????? ????????? (????
    ????????????? ?? ??????? ???????)
  • bookcity??????
  • bookpricegt250
  • ??????? ?? ???????? ?????????
  • //book_at_langrus/title
  • ??????? ??????????? ? ???? ????, ?????
    ???????? ?????
  • book1/author vs. book/author1

6
???????????? ????(Namespaces)
  • ???????????, ??? ? ????? XML-????????? ??????????
    ????? ????????
  • name, age, company, position
  • ? ? ?????? ?????
  • name, border, size, position
  • ??? ????????, ???? ??? ??????????? ??????????
    ????????? ???? ??????
  • ?????? ?????????? ? ????????? name ? position.
  • ? ?????? ???? ?? ????????

7
???????????? ????(Namespaces)
  • ???????????? ???? ????????? ????????? ??????
    ?????????, ??????????? ? ?????? ????????
  • ??? ????? ? ???????? ???????? ??????????? ???????
  • persname, persage, perscompany, persposition
  • imagename, imageborder, imagesize,
    imageposition
  • ? ??????? ????? ????? ???? ?????? ???? ???????.
    ?? ?????????? ??????????

8
???????????? ????(Namespaces)
  • ???????????? ????, ???????????? ? ?????????,
    ?????? ???? ?????????
  • ?????????? ???????? ???? ? ???????? ????????,
    ???? ? ?????????, ??? ???????????? ?????? ???????
  • ??????? ???????? ???????? ? ????????????
    ??????????? (???????? ??? ????????)
  • ltroot xmlnspers"http//www.philol.msu.ru/people"
  • xmlnsimage"http//www.philol.msu.ru/photo"gt

9
?????????????? XML-??????(XSLT)
  • ??? ?? ??????, XML ?????? ??? ?? ??????. ???
    ?????? ????????? ????????? ??????
  • ????? ? ????? ??????? ???-?? ???????,
    ???????????? ??????????? ????????
  • XSL eXtensible Stylesheet Language
  • XSLT XSL TransformationsXSLT ?????????
    ?????????????? ??????
  • XSL-FO XSL Formatting ObjectsXSL-FO ???????????
    ?????? ??? ??????

10
?????????????? XML-??????(XSLT)
11
?????????????? XML-??????(XSLT)
  • ??? ????? ?????? XSL?
  • ???????? (???????????) ???????????? ?????? ??
    ?????? ?????????
  • ????????????? ?????? ?????????? ?? ?????????
    ???????
  • ?????? ???????? ????????? ??????(??
    ??????????????)
  • ??????????????? XML
  • ? ?????? XML
  • ? ?????????? HTML
  • ? ?????? ????????? ???????

12
?????????????? XML-??????(XSLT)
  • ? ??????? ?? ?????? ?????? ????????????????
    (BASIC, Pascal, C,), XSL ?? ??????????? ????,
    ? ?????????????.
  • ????????? ?? XSL (transformation, ??? ??
    stylesheet) ???????? ?? ??? ????? ??????
    (?????????????????? ????????), ? ??? ??????
    ??????????.

13
?????????????? XML-??????(XSLT)
  • ????????? ?? XSL ??????? ?? ???????? (templates),
    ??????? ?????????????? ? ?????????? ???????
    ?????? XML ?? ????? ? ?????? ????????? ?????.
  • (????? ??. ??????? ???????)
Write a Comment
User Comments (0)
About PowerShow.com