Commit Graph

10 Commits

Author SHA1 Message Date
jim teeuwen 02d19ed0bd Fix issue 1: Added dependency to go-iconv. this lib is needed to ensure we pass valud UTF-8 encoded data to the XML tokenizer. 2011-01-18 21:31:56 +01:00
jim teeuwen bacbff0e71 Node.GetValueXXX() and Node.GetAttrX() functions are now changed to Node.X() and Node.AX() functions. The old ones still exist, so your code will not break, but we recommend you use the shorter names from now on. These have been added to reduce the amount of typing needed when using this package to extract typed node/attribute values. Added node.B() and node.Ab() to retrieve boolean values. README updated to reflect the changes. 2010-12-19 21:45:42 +01:00
jim teeuwen d0d1c2f9f5 Fixed bug in Document.LoadStream() function. 2010-12-19 20:45:57 +01:00
jim teeuwen 15ec07ab1a Some minor error handling fixes. 2010-12-16 21:08:01 +01:00
jim teeuwen 28e474f91f Fix for Go release.2010-02-12 2010-12-03 15:22:39 +01:00
jim teeuwen 8c492695c1 Changed slice code to use append() 2010-11-05 01:26:35 +01:00
jim teeuwen 18011ea2f0 Fixed 2 incorrect function signatures 2010-10-10 20:04:58 +02:00
jim teeuwen db4230b809 Reworked README and xmlx/entitymap.go. Now includes conversion of named xml entities instead of just numeric ones. Eg: π and π to a unicode character and vice-versa. It also came to my attention that lack of a proper opensource license might put people off of using this package. I therefor added a 1-clause BSD license under which this code now falls. 2010-09-26 22:59:14 +02:00
jim teeuwen 24f48a058b Fix for recent Go release. 2010-08-25 21:22:14 +02:00
jim teeuwen 6d8b8289d8 Refactored some code to be faster and a little more elegant. 2010-08-22 05:07:38 +02:00