aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/include/xmerl.hrl
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2010-12-18 23:49:15 +0100
committerLars Thorsen <[email protected]>2011-11-11 11:58:43 +0100
commitfcf6b58a1f7a2eafa0db79f1715db1c193c3f346 (patch)
tree078115458f26ac89a543c3a427090a3b78447ed0 /lib/xmerl/include/xmerl.hrl
parent7fc95c00764fc13d2e3e676cca1a66be5d672c41 (diff)
downloadotp-fcf6b58a1f7a2eafa0db79f1715db1c193c3f346.tar.gz
otp-fcf6b58a1f7a2eafa0db79f1715db1c193c3f346.tar.bz2
otp-fcf6b58a1f7a2eafa0db79f1715db1c193c3f346.zip
Add `default_attrs` option
When `default_attrs` is `true`, any attribute with a default value defined in the doctype but not in the attribute axis of the currently scanned element is added to it.
Diffstat (limited to 'lib/xmerl/include/xmerl.hrl')
-rw-r--r--lib/xmerl/include/xmerl.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xmerl/include/xmerl.hrl b/lib/xmerl/include/xmerl.hrl
index 9c471c437f..2e18e216e2 100644
--- a/lib/xmerl/include/xmerl.hrl
+++ b/lib/xmerl/include/xmerl.hrl
@@ -156,6 +156,7 @@
doctype_name,
doctype_DTD = internal, % internal | DTDId
document = false,
+ default_attrs = false,
rules,
keep_rules = false, % delete (ets) tab if false
namespace_conformant = false, % true | false