Lines Matching refs:BAD_CAST
38 doc = xmlNewDoc(BAD_CAST "1.0"); in main()
39 root_node = xmlNewNode(NULL, BAD_CAST "root"); in main()
45 xmlCreateIntSubset(doc, BAD_CAST "root", NULL, BAD_CAST "tree2.dtd"); in main()
51 xmlNewChild(root_node, NULL, BAD_CAST "node1", in main()
52 BAD_CAST "content of node 1"); in main()
56 xmlNewChild(root_node, NULL, BAD_CAST "node2", NULL); in main()
63 xmlNewChild(root_node, NULL, BAD_CAST "node3", in main()
64 BAD_CAST "this node has attributes"); in main()
65 xmlNewProp(node, BAD_CAST "attribute", BAD_CAST "yes"); in main()
66 xmlNewProp(node, BAD_CAST "foo", BAD_CAST "bar"); in main()
73 node = xmlNewNode(NULL, BAD_CAST "node4"); in main()
74 node1 = xmlNewText(BAD_CAST in main()
84 node = xmlNewChild(root_node, NULL, BAD_CAST buff, NULL); in main()
87 node1 = xmlNewChild(node, NULL, BAD_CAST buff, NULL); in main()
88 xmlNewProp(node1, BAD_CAST "odd", BAD_CAST((j % 2) ? "no" : "yes")); in main()