Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I paste or import without parsing?? meltemi Excel Discussion (Misc queries) 3 October 7th 09 04:53 PM
Excel 2007 Japanese Import Error hamster0914 Excel Discussion (Misc queries) 0 December 29th 06 02:30 AM
Error message when trying to import csv into Outlook contacts. [email protected] Excel Discussion (Misc queries) 1 April 13th 06 03:15 PM
Microsoft Excel import a webpage error Justloseit Excel Discussion (Misc queries) 0 March 7th 06 07:11 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"