WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 XLOADTree does not works with german umlauts, Stefan Riedel-Seifert, August 5, 2003
     Re:XLOADTree does not works with german umlauts , Tomaz Cerar, August 5, 2003
     Re:XLOADTree does not works with german umlauts, Erik Arvidsson, August 5, 2003

Subject: Re:XLOADTree does not works with german umlauts From: Erik Arvidsson Date: August 5, 2003
Vanilla XML only have 4 entities defined (&, <, > and "). Either use UTF16 and insert the correct unicode character or use &#abcd; where abcd is the number for the a umlat character.



it seems not possible to the tree with german umlauts:

the master document is as:

<title>XLoadTree Demo (WebFX)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="xtree.js"></script>
<script type="text/javascript" src="xmlextras.js"></script>
<script type="text/javascript" src="xloadtree.js"></script>
<link type="text/css" rel="stylesheet" href="xtree.css" />


<script type="text/javascript">

var tree = new WebFXTree("Products");
tree.add(new WebFXLoadTreeItem("F&uuml;llstand", "010.xml"));
tree.add(new WebFXLoadTreeItem("Druck", "020.xml"));
tree.add(new WebFXLoadTreeItem("System&nbsp;Produkte", "030.xml"));
tree.add(new WebFXLoadTreeItem("Tankstand", "040.xml"));
tree.add(new WebFXLoadTreeItem("Durchfluss", "050.xml"));
tree.add(new WebFXLoadTreeItem("Registrierung", "060.xml"));
tree.add(new WebFXLoadTreeItem("Temperatur", "070.xml"));
tree.add(new WebFXLoadTreeItem("Fl&uuml;ssigkeitsanalyse", "080.xml"));
tree.add(new WebFXLoadTreeItem("Sonstiges, Sammler f. Nebenleistungen", "090.xml"));

but for example 010.xml:
<?xml version="1.0"?>
<tree text="F&auml;llstandsmessung" src="010.xml" action="javascript:alert(2.1)" />

cannot be loaded.


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX