There's no documentation for this item.
| Public Methods |
| decorations |
|
| needs_encoding? |
There is a significant speed improvement if the value does not need to be
escaped, as #tag! escapes all values to ensure that valid XML is generated.
For known binary values, it is at least an order of magnitude faster to
Base64 encode binary values and directly put them in the output XML than to
pass the original value or the Base64 encoded value to the #tag! method. It
definitely makes no sense to Base64 encode the value and then give it to
#tag!, since that just adds additional overhead.
|
| new |
|
<code/>and<pre/>for code samples.