diff options
author | Anthony Ramine <[email protected]> | 2010-12-07 17:28:56 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-11-11 11:58:42 +0100 |
commit | 7fc95c00764fc13d2e3e676cca1a66be5d672c41 (patch) | |
tree | ccc9c449a581779dfc2593aebe7977ccb7643276 /lib/kernel/ebin | |
parent | 64a41197d8d5a292348d38467b28a041a95c500b (diff) | |
download | otp-7fc95c00764fc13d2e3e676cca1a66be5d672c41.tar.gz otp-7fc95c00764fc13d2e3e676cca1a66be5d672c41.tar.bz2 otp-7fc95c00764fc13d2e3e676cca1a66be5d672c41.zip |
Allow whole documents to be returned
Functions `xmerl_scan:file/2` and `xmerl_scan:string/2` now accepts a
new option `{document, true}` to produce a whole document as a
`xmlDocument` record instead of just the root element node.
You may wonder why this would be useful, this option is the only way to
get to the top-level comments and processing instructions without
hooking through the customization functions. Those nodes are needed to
implement [Canonical XML][c14n-xml] support.
[c14n-xml]: http://www.w3.org/TR/2008/PR-xml-c14n11-20080129/
"Canonical XML"
Diffstat (limited to 'lib/kernel/ebin')
0 files changed, 0 insertions, 0 deletions