HasAttribute
bool HasAttribute(BNode* node, const char* name);
HasAttribute(&node, PSRV_SPOOL_ATTR_MIMETYPE) &&
HasAttribute(&node, PSRV_SPOOL_ATTR_PAGECOUNT) &&
HasAttribute(&node, PSRV_SPOOL_ATTR_DESCRIPTION) &&
HasAttribute(&node, PSRV_SPOOL_ATTR_PRINTER) &&
HasAttribute(&node, PSRV_SPOOL_ATTR_STATUS);
if (HasAttribute(attributes, "opacity")) {
if (HasAttribute(attributes, "color")) {
if (HasAttribute(attributes, "stroke")) {
if (HasAttribute(attributes, "stroke-opacity")) {
if (HasAttribute(attributes, "fill")) {
if (HasAttribute(attributes, "fill-opacity")) {
if (HasAttribute(attributes, "stroke-width")) {
if (HasAttribute(attributes, "stroke-linecap")) {
if (HasAttribute(attributes, "stroke-linejoin")) {
if (HasAttribute(attributes, "stroke-miterlimit")) {
if (HasAttribute(attributes, "font-size")) {
if (HasAttribute(attributes, "transform")) {
bool HasAttribute(const XML_Char **attributes, const char *name);