| Doesn't most "well formed XML" contain a declaration? LIke: <?xml version="1.0" encoding="UTF-8"?> However, if the file has a declaration, I get this error: An error occurred while parsing the XML. No processing instruction starts with 'xml' So, I have had to modify, to manually remove the declaration, which seems like I shouldn't have to do. And does this mean, that <@dom> assumes only one type of text encoding, since it ignores the declaration? So I have to read in xml like this: <@assign local$myxml "<@include file='/dirpath/filename'>"> <@assign local$myDom <@replace str='<@var local$myxml type=text>' findstr='<\?.+\?>' replacestr='' type=regex> Am I missing something? So, is this a bug? And does this mean that any xml files that are NOT encoded ISO-8859-1 will be treated as such any way, so we will have encoding problems? Enough for tonight, time for bed. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com 13653 West Park Dr Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 On Sep 4, 2005, at 8:18 PM, Customer Support wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Re: Witango-Talk: XML questions Robert Garcia
- RE: Witango-Talk: XML questions Scott Cadillac
