12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*====================================================================*
- *
- * struct node const * xmlvalue (struct node const * node);
- *
- * node.h
- *
- * search an attribute node for the value node; return the value
- * node address;
- *
- * Motley Tools by Charles Maier;
- * Copyright (c) 2001-2006 by Charles Maier Associates;
- * Licensed under the Internet Software Consortium License;
- *
- *--------------------------------------------------------------------*/
- #ifndef XMLVALUE_SOURCE
- #define XMLVALUE_SOURCE
- #include <string.h>
- #include "../nodes/node.h"
- struct node const * xmlvalue (struct node const * node)
- {
- if (node)
- {
- node = node->below;
- }
- while (node)
- {
- if (node->type == NODE_VALU)
- {
- break;
- }
- node = node->after;
- }
- return (node);
- }
- #endif
|