일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- API Gateway
- AWS
- icrawler
- timeinput
- gitignore
- react DOM
- yml
- xlsx
- react
- electron
- electron-builder
- TypeScript
- JavaScript
- window.postMessage
- 가상 DOM
- 프로그래머스
- react-admin
- jimp
- react-hook-form
- axios
- node
- signIn
- cognito
- readableStream
- dynamodb
- react-xml-parser
- react-sortable-hoc
- Route53
- domtoimage
- zerocho
Archives
- Today
- Total
목록react-xml-parser (1)
꾸준히 공부하는 개발자
[Node.js] XML Parser
dblp.xml 파일을 받아와 이제 파싱을 할 차례이다. xml을 파싱하는 모든 라이브러리를 사용해 봤는데, 나는 console.dir 을 어떤식으로 사용하는지를 모르겠어서 시중에 가장인기있는 xml2js 이런 모듈들은 이상하게도 작동하지않아 인기가없는 react-xml-parser를 사용하였다. 이런건 사용하면안된다... const XMLParser = require('react-xml-parser'); const xml = new XMLParser().parseFromString(dblpString); // Assume xmlText contains the example XML 참 간단하다.
Node.js
2019. 12. 20. 20:33