Hi Matt,
Thanks for the quit answer. I'm already using 2.x release since I can't get 3.0.2 to work with the Extensions. But I'm getting a error while fetching some data from db (text or varchar):
PHP Fatal error: Uncaught exception 'QueryPathParseException' with message 'DOMDocumentFragment::appendXML(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding !\nBytes: 0xFC 0x66 0x66 0x65 (/home/arbeit/web-dev/QueryPath/QueryPath.php: 2044)' in /home/arbeit/web-dev/QueryPath/QueryPath.php:4528\nStack trace:\n#0 [internal function]: QueryPathParseException::initializeFromError(2, 'DOMDocumentFrag...', '/home/arbeit/we...', 2044, Array)\n#1 /home/arbeit/web-dev/QueryPath/QueryPath.php(2044): DOMDocumentFragment->appendXML('INDIARY echtes ...')\n#2 /home/arbeit/web-dev/QueryPath/QueryPath.php(1521): QueryPath->prepareInsert('INDIARY echtes ...')\n#3 /home/arbeit/web-dev/QueryPath/Extension/QPTPL.php(217): QueryPath->append('INDIARY echtes ...')\n#4 /home/arbeit/web-dev/QueryPath/Extension/QPTPL.php(79): QPTPL->tplArrayR(Object(QueryPath), Array, Array)\n#5 [internal function]: QPTPL->tpl('<?xml version="...', Array)\n#6 /home/arbeit/web-dev/QueryPath/QueryPath.php(4190): ReflectionMethod->invokeArgs(Object(QPT in /home/arbeit/web-dev/QueryPath/QueryPath.php on line 4528
Any guesses?
Thanks
Fabian
PS: I think you made a great piece of code, thank you therefor.