[Glade-users] Display XML in Glade 2.



This is a multi-part message in MIME format.

------=_NextPart_000_0004_01C313B4.9D7509C0
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: 7bit

G'Day,
 
In 1 of my screens I want to display the contents of an XML file using
one of the Glade 2 display controls. When I use TextView, then this
control tries to interpret the xml file as being markup tags etc and I
end up with rubbish. Also when reading back from the control, tags as
<test> will be transformed to &lt;test&rt; So a couple of questions:
 
How can I disable this markup in the TextView? I just want it to be a
"dumb" control without trying to interpret stuff.
 
What is is the best way to display the contents of an XML file? As fas
as I can see there is no "NetControl" where XML files can be displayed
as you see in modern browsers.
 
Is there an easy way to use the TreeControl in relation to XML files. Is
there an easy/quick way to load an xml file in this control, since an
XML file is a perfect example of a tree.
 
Thanks in advance,
 
Bas.
 

------=_NextPart_000_0004_01C313B4.9D7509C0
Content-Type: text/html;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2>G'Day,</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial size=3D2>In 1 =
of my screens I=20
want to display the contents of an XML file using one of the Glade 2 =
display=20
controls. When I use TextView, then this control tries to interpret the =
xml file=20
as being markup tags etc and I end up with rubbish. Also when=20
reading&nbsp;back&nbsp;from the control, tags as &lt;test&gt; will be=20
transformed to &amp;lt;test&amp;rt; So a couple of=20
questions:</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial size=3D2>How =
can I disable=20
this markup in the TextView? I just want it to be a "dumb" control =
without=20
trying to interpret stuff.</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial size=3D2>What =
is is the best=20
way to display the contents of an XML file? As fas as I can see there is =
no=20
"NetControl" where XML files can be displayed as you see in modern=20
browsers.</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial size=3D2>Is =
there an easy way=20
to use the TreeControl&nbsp;in relation to XML files. Is there an =
easy/quick way=20
to load an xml file in this control, since an XML file is a perfect =
example of a=20
tree.</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial size=3D2>Thanks =
in=20
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D987334123-05052003><FONT face=3DArial=20
size=3D2>Bas.</FONT></SPAN></DIV>
<DIV><SPAN class=3D987334123-05052003>&nbsp;</SPAN></DIV></BODY></HTML>

------=_NextPart_000_0004_01C313B4.9D7509C0--





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]