If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
XML Import Parsing error
I have created an xml file, and some elements contain weblinks w/parameters.
Excel hiccups when it encounters the &. How can I make it where Excel's XML import will preserve these special characters and still open the file? The method by which I create the XML is through php. I accumulate along string and then, write it to a file, "test.xml." I have tried using $allthexml=htmlentities($allthexml); It didn't work. I tried including ![CDATA[ before the innerhtml of the tag and ]] after it. That did not work, either. Thanks. html |
#2
|
|||
|
|||
XML Import Parsing error
I should have used htmlentities() only on the data between the xml tags,
rather than try to use it on the entire string, including the xml tags. "Jeff" wrote: I have created an xml file, and some elements contain weblinks w/parameters. Excel hiccups when it encounters the &. How can I make it where Excel's XML import will preserve these special characters and still open the file? The method by which I create the XML is through php. I accumulate along string and then, write it to a file, "test.xml." I have tried using $allthexml=htmlentities($allthexml); It didn't work. I tried including ![CDATA[ before the innerhtml of the tag and ]] after it. That did not work, either. Thanks. html |
Thread Tools | |
Display Modes | |
|
|