encodeSVGSpecialChars

0th

Percentile

Encode SVG special chars (ampersand, etc)

Encode SVG special chars (ampersand, etc) as the appropriate XML encoding.

Keywords
device
Usage
encodeSVGSpecialChars(x, sub.special = TRUE, xent = FALSE)
Arguments
x
A vector of character data to be encode.
sub.special
If FALSE, do not encode.
xent
If FALSE, encode as XML encoding, if TRUE, encode as XML entity
Details

The following substitutions are made:

Character XML encoding
XML entity \&
\& \&\#38
\' \'
\&\#30 \"
\" \&\#34
\< \<
\&\#60 Character

Value

The vector x with encodings as appropriate.

Aliases
  • encodeSVGSpecialChars
Documentation reproduced from package RSVGTipsDevice, version 1.0-7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.