get_element_by_id: Get an element from an XML document by ID. Return NA if ID...

Description Usage Arguments Value

View source: R/utils.R

Description

This function is called when a <use> tag references another element or a a colour tag references a gradient element.

Usage

1

Arguments

svg

xml document containing svg

id

id, #id, url(#id), url('#id')

Value

SVG element with the given id, otherwise NA


coolbutuseless/svgparser documentation built on Dec. 26, 2021, 12:03 a.m.