1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages.ko/common/xml-canonic.md
2024-11-01 23:24:37 +05:30

20 lines
616 B
Markdown

# xml canonic
> XML 문서를 정규화.
> 더 많은 정보: <https://xmlstar.sourceforge.net/docs.php>.
- XML 문서를 정규화하여 주석을 보존:
`xml canonic {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}`
- XML 문서를 정규화하여 주석 제거:
`xml canonic --without-comments {{경로/대상/입력.xml|URI}} > {{경로/대상/출력.xml}}`
- 파일의 XPATH를 사용하여 XML을 독점적으로 정규화하고, 주석을 보존:
`xml canonic --exc-with-comments {{경로/대상/입력.xml|URI}} {{경로/대상/c14n.xpath}}`
- 도움말 표시:
`xml canonic --help`