A
Alan Searle
For reporting purposes I generate XML from an MS-Access 2002 database
and find that in this way I can format and display the data no problem
with a XSL/HTML template. Perfect!
However, then I found that I needed to replace my automatic MS-Access
output with a customised dump of the XML and find that I am now having a
problem with special characters (umlauts).
For my tests I have built two identical extracts one generated by
MS-Access and the other constructed by me using VBA. Here I find that
my (VBA generated) version produces an error message 'illegal
characters' (stopping at the point where umlauts: ä and ü are found) in
the browser while the MS-Access generated version still displays.
It can't be anthing in the content because both files are identical so I
am wondering whether I need to make any specific declarations when I
open the text file in VBA? Are there any hidden commands which indicate
which characterset the file will contain?
Any tips or links on the issue of handling special characters in XML
would be a great help.
Many thanks,
Alan Searle
and find that in this way I can format and display the data no problem
with a XSL/HTML template. Perfect!
However, then I found that I needed to replace my automatic MS-Access
output with a customised dump of the XML and find that I am now having a
problem with special characters (umlauts).
For my tests I have built two identical extracts one generated by
MS-Access and the other constructed by me using VBA. Here I find that
my (VBA generated) version produces an error message 'illegal
characters' (stopping at the point where umlauts: ä and ü are found) in
the browser while the MS-Access generated version still displays.
It can't be anthing in the content because both files are identical so I
am wondering whether I need to make any specific declarations when I
open the text file in VBA? Are there any hidden commands which indicate
which characterset the file will contain?
Any tips or links on the issue of handling special characters in XML
would be a great help.
Many thanks,
Alan Searle