From: Manfred Hansen Date: 2003-03-02T20:09:14+09:00 Subject: libxml and umlauts Hi, i have try my first steps with libxml. The first problem i need the german umlauts (���..). The second, i will get only one element like "werte.elements["//INVOICE_NO"].text" in REXML Here my files: bill.xml ?xml version="1.0" encoding="ISO-8859-1"?> Anschlu� #!/usr/bin/ruby require "xml/libxml" xp = XML::Parser.new() xd = XML::Document.file('./bill.xml') xd.encoding='ISO-8859-1' werte = xd.find('/BILLITEM/PRODUCT_NAME') werte.each do |n| puts n # Anschlu� not � end Manfred Hansen