์ƒˆ์†Œ์‹

์ธ๊ธฐ ๊ฒ€์ƒ‰์–ด

๐Ÿ“  Secure

์ฃผ์š”์ •๋ณดํ†ต์‹ ๊ธฐ๋ฐ˜์‹œ์„ค WEB-07 XPath ์ธ์ ์…˜

  • -
๋ฐ˜์‘ํ˜•
WEB-07 XPath ์ธ์ ์…˜

- XML ๊ตฌ์กฐ์— ์•…์˜์ ์ธ ์ฟผ๋ฆฌ ๋˜๋Š” ์ฝ”๋“œ๋ฅผ ์‚ฝ์ž…ํ•˜์—ฌ ์ •๋ณด๋ฅผ ํƒˆ์ทจํ•˜๋Š” ๊ณต๊ฒฉ

- XML์€ DB, XPATH๋Š” SQL

 

XPath ๋ช…๋ น์–ด

 

์ ๊ฒ€ ๋ฐ ํŒ๋‹จ ๊ธฐ์ค€

- ์–‘ํ˜ธ : ์ฟผ๋ฆฌ ์ž…๋ ฅ ๊ฐ’์— ๋Œ€ํ•œ ๊ฒ€์ฆ์ด ์ด๋ฃจ์–ด์ง€๋Š” ๊ฒฝ์šฐ

- ์ทจ์•ฝ : ์ฟผ๋ฆฌ ์ž…๋ ฅ ๊ฐ’์— ๋Œ€ํ•œ ๊ฒ€์ฆ์ด ์ด๋ฃจ์–ด์ง€์ง€ ์•Š๋Š” ๊ฒฝ์šฐ

 

์กฐ์น˜ ๋ฐฉ๋ฒ•

- ์ฟผ๋ฆฌ ์ž…๋ ฅ๊ฐ’์— ๋Œ€ํ•ด ๊ฒ€์ฆ ๋กœ์ง ์ถ”๊ฐ€ ๊ตฌํ˜„

 

์ ๊ฒ€ ๋ฐฉ๋ฒ•

- [ 'and'a'='a , 'and'a'='b ]์™€ [ and 1=1, and 1=2 ]์˜ ์„ธํŠธ๊ฐ’์„ ๊ฐ๊ฐ ์‚ฝ์ž…ํ•˜์—ฌ ์ฟผ๋ฆฌ์˜ ์ฐธ, ๊ฑฐ์ง“์— ๋”ฐ๋ผ ๋ฐ˜ํ™˜๋˜๋Š” ํŽ˜์ด์ง€๊ฐ€ ๋‹ค๋ฅธ์ง€ ํ™•์ธ

๋ณด์•ˆ ์„ค์ • ๋ฐฉ๋ฒ•

- XPATH ์ฟผ๋ฆฌ์— ์ž…๋ ฅ ๊ฐ’์ด ์ž…๋ ฅ๋˜๋Š” ๊ฒฝ์šฐ, ์—„๊ฒฉํ•œ ์ž…๋ ฅ๊ฐ’ ๊ฒ€์ฆ์„ ํ†ตํ•ด ํ•„์š” ๋ฌธ์ž๋งŒ์„ ๋ฐ›์•„๋“ค์ด๊ฒŒ ํ•จ

- XPATH ์ฟผ๋ฆฌ๋ฅผ ํŒŒ๊ดดํ•˜๋Š” ํŠน์ˆ˜๋ฌธ์ž๋Š” ์ž…๋ ฅํ•˜์ง€ ๋ชปํ•˜๊ฒŒ ํ•˜์—ฌ์•ผ ํ•˜๋ฉฐ, ํŠน์ • ํŠน์ˆ˜๋ฌธ์ž๋งŒ์„ ํ•„ํ„ฐ๋งํ•˜๋Š”๊ฒƒ์ด ์•„๋‹Œ ํ—ˆ์šฉ๋œ ๋ฌธ์ž ์ด์™ธ์˜ ๋ชจ๋“  ์ž…๋ ฅ์„ ํ—ˆ์šฉํ•˜์ง€ ์•Š์•„์•ผ ํ•จ

 

๋ฐ˜์‘ํ˜•
Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.