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