Hi to all :)
I send this exampe to harbour-users, but nobody answered me. I think it's a bug in TXmlDocument class.
I have simple XML with attributes which contaings special characters
-- sample XML is in attach. This is important line:
For reading I use this simple code:
oDoc := TXmlDocument():new()
x1 := oDoc:findFirst ("Stavke")
? s1 := x1:aAttributes["naziv"]
x2 := oDoc:findNext ()
? s2 := x2:aAttributes["naziv"]
x3 := oDoc:findNext ()
? s3 := x3:aAttributes["naziv"]
Result (characters for special symbols) change every time I start this program???
Thanks in advance,
Many thanks to you and everyone who helped me clarify the problem!
For now, I solved the problem by doing StrTran before parsing the XML.
You received this message because you are subscribed to the Google Groups "Harbour Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-devel/b0e2dd2c-faa4-4764-ab1b-9171adb1714bn%40googlegroups.com.