zone12 Posted October 15, 2009 Share Posted October 15, 2009 when i parse this code sample: <html><style>style</style><body><h1>blah<si zork="random" name="heading" /></h1><r><h3><si wallis="TeStInG" name="body" /></h3></r></body></html> the style tag turns into a 'complete' instead of an 'open' and a 'closed' tag so printing it out parrot fashion gives me: <html><style />style<body><h1>blahheading</h1><r><h3>body</h3></r></body></html> the <si> tags are replaced with the name parameter. now the style tag doesn't work properly and the document doesn't render. Has anyone else seen this error? I have tried it with other tags, and it always seems to be the second tag that turns from two tags into one. Any help would be much appreciated. Link to comment https://forums.phpfreaks.com/topic/177787-xml_parse_into_struct-error-with-tags/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.