Announcement

Collapse
No announcement yet.

Gui xml editor?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Gui xml editor?

    ok i can spend the next 6 weeks tweaking the xml file im trying to move content around in. However it seems to me. that there should be a gui styl xml editor which will allow me to see how to move the graphics , login boxes etc around. I have found anything like that yet , i have installed oxygen no help an a couple of others . screem is good but haven't made it work either that way . What i am looking for would allow me to edit the xml like a html editor does a web page seeing the code only when i need to . does such a thing exist?

    #2
    Re: Gui xml editor?

    These programs can handle XML in a WYSIWYG way:
    - OO Writer can read and export some XML
    - In Emacs with Emacs Muse you can write a file using semigraphics with special simple tags for formatting, with pictures, tables and inline code and export it in many formats, in XML too. You can also use Emacs for editting XML code. Emacs GTK and Emacs Muse is in Kubuntu repository. Emacs today is not so scary as it used to be, as many functions are on menu and it is not necessary to learn too many shortcuts. Muse is user friendly.
    Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13

    Comment


      #3
      Re: Gui xml editor?

      i kinda of understand what i am looking at however. i want to make this more streamlined . right now i found this xml file and it is great for making kdms (i have like 25 on http://www.kde-look.org. it has everything in one place however its a rather big box. i found a winblows program that allows me to move elements int his file up and down but not arrange them the way i want. i downloaded emacs nice editor but not working as planned .

      heres the code :

      ##################
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE greeter SYSTEM "greeter.dtd">
      <!--
      Copyright 2008 Urs Wolfer <uwolfer @ kde.org>
      Copyright 2008 Oswald Buddenhagen <ossi @ kde.org>
      Copyright 2008 Kushal Das <kushal@fedoraproject.org>
      Copyright 2008 Jaroslav Reznik <jreznik@redhat.com>
      Copyright 2008 Than Ngo <than@redhat.com>
      Copyright 2009 Starwolf <starwaya@gmail.com>

      This program is free software; you can redistribute it and/or
      modify it under the terms of the GNU General Public License as
      published by the Free Software Foundation; either version 2 of
      the License, or (at your option) any later version.

      This program is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      GNU General Public License for more details.

      You should have received a copy of the GNU General Public License
      along with this program. If not, see <http://www.gnu.org/licenses/>.
      -->
      <greeter id="theme">
      <style font="Sans Medium 10" window-text-color="#C7C7C7"
      base-color="#00000000" alternate-base-color="#00000000"
      text-color="#ffffff" disabled-text-color="#808080"
      disabled-base-color="#00000000" disabled-alternate-base-color="#00000000"
      disabled-color="#00000000"/>
      <item type="pixmap" id="background" background="true">
      <normal file="ttr.jpg"/>
      <pos anchor="c" x="50%" y="50%" width="100%" height="100%"/>
      </item>
      <item type="rect" id="greeter">
      <pos y="50%" x="50%" anchor="c" width="box" height="380"/>
      <fixed>
      <item type="pixmap">
      <normal file="loginbox.png"/>
      <pos width="480" max-height="400"/>
      </item>
      </fixed>
      <box orientation="vertical" xpadding="15" ypadding="15" spacing="10">
      <item type="rect" id="banner">
      <pos width="box" height="box" min-width="100%"/>
      <box orientation="horizontal" spacing="10">
      <item type="label" id="welcome">
      <pos x="50%" y="38%" anchor="c" expand="true" max-width="450"/>
      <normal color="#FFFFFF" font="Sans Bold 16"/>
      <text>%h</text>
      </item>
      </box>
      </item>
      <item type="pixmap" id="topline">
      <normal file="topline.png"/>
      <pos width="457" height="7"/>
      </item>
      <item type="rect" id="content">
      <pos width="box" height="box"/>
      <box orientation="vertical" spacing="10">
      <item type="rect" id="verify">
      <pos width="box" height="box"/>
      <box orientation="vertical" spacing="2">
      <item type="rect" id="talker">
      <pos width="box" height="box"/>
      <box orientation="horizontal" spacing="20">
      <item type="rect" >
      <pos width="box" height="box"/>
      <box orientation="vertical" xpadding="2" ypadding="2" spacing="10">
      <item type="label" border="0">
      <pos x="15" y="7" min-width="218"/>
      <normal font="Sans Medium 12"/>
      <stock type="username-label"/>
      </item>
      <item type="rect" id="user-entry-widget">
      <pos x="15" y="0"/>
      <fixed>
      <item type="pixmap" id="user-background">
      <normal file="inputbox.png"/>
      <pos width="183" height="30"/>
      </item>
      <item type="entry" id="user-entry">
      <style text-color="#000000" font="Sans 10"/>
      <pos x="5" y="0" width="168" height="24" max-height="24"/>
      </item>
      </fixed>
      </item>
      </box>
      </item>
      <item type="rect" >
      <pos width="box" height="box"/>
      <box orientation="vertical" xpadding="2" ypadding="2" spacing="10">
      <item type="label">
      <pos x="15" y="7" min-width="218"/>
      <normal font="Sans Medium 12"/>
      <stock type="password-label"/>
      </item>
      <item type="rect" id="pw-entry-widget">
      <pos x="15" y="0" />
      <fixed>
      <item type="pixmap" id="pw-background">
      <normal file="inputbox.png"/>
      <pos y="0" width="183" height="30"/>
      </item>
      <item type="entry" id="pw-entry">
      <style text-color="#000000" font="Sans 10"/>
      <pos x="5" y="0" width="168" height="24" max-height="24"/>
      </item>
      </fixed>
      </item>
      </box>
      </item>
      </box>
      </item>
      <item type="rect" id="placeholder">
      <pos y="10" width="100%" height="45"/>
      <box>
      <item type="label" id="caps-lock-warning">
      <normal color="#C7C7C7" font="Sans Medium 12"/>
      <pos anchor="n" x="210" y="15"/>
      <stock type="caps-lock-warning"/>
      </item>
      <item type="label" id="pam-error">
      <normal color="#C7C7C7" font="Sans Medium 12"/>
      <pos anchor="n" x="210" y="15"/>
      <stock type="caps-lock-warning"/>
      </item>
      </box>
      </item>
      </box>
      </item>
      <item type="pixmap" id="topline">
      <normal file="topline.png"/>
      <pos width="457" height="7"/>
      </item>
      <item type="list" id="userlist">
      <color/>
      <normal altlabelcolor="#00ff00" labelcolor="#ffffff"/>
      <pos x="30" width="380" height="145" max-height="145"/>
      </item>
      <item type="pixmap" id="topline">
      <normal file="topline.png"/>
      <pos width="457" height="7" y="5"/>
      </item>
      </box>
      </item>
      <item type="rect" >
      <pos width="box" height="box"/>
      <box orientation="horizontal" spacing="2">
      <item type="rect" id="session_button" button="true">
      <pos width="box" height="box" y="15"/>
      <box orientation="horizontal" spacing="3" xpadding="10">
      <item type="pixmap">
      <normal file="session.png" tint="#ffffff"/>
      <prelight file="session.png"/>
      <active file="session.png" tint="#ffffff"/>
      <pos y="50%" anchor="w"/>
      </item>
      <item type="label">
      <normal font="Sans Medium 12"/>
      <prelight color="#ffffff" font="Sans Medium 12"/>
      <active color="#ffffff" font="Sans Medium 12"/>
      <pos y="50%" anchor="w"/>
      <stock type="session"/>
      </item>
      </box>
      </item>
      <item type="rect" id="system_button" button="true">
      <show modes="console" type="system"/>
      <pos width="box" height="box" y="15"/>
      <box orientation="horizontal" spacing="3">
      <item type="pixmap">
      <normal file="menu.png" tint="#ffffff"/>
      <prelight file="menu.png"/>
      <active file="menu.png" tint="#ffffff"/>
      <pos y="50%" anchor="w"/>
      </item>
      <item type="label">
      <normal font="Sans Medium 12"/>
      <prelight color="#ffffff" font="Sans Medium 12"/>
      <active color="#ffffff" font="Sans Medium 12"/>
      <pos x="5" y="50%" anchor="w"/>
      <stock type="system"/>
      </item>
      <item type="label" id="clock">
      <pos x="20" y="50%" anchor="w"/>
      <normal font="Sans 8" color="#C7C7C7"/>
      <text>%c</text>
      </item>
      <item type="pixmap">
      <normal file="kde.png" tint="#ffffff"/>
      <prelight file="kde.png"/>
      <active file="kdepng" tint="#ffffff"/>
      <pos x="30" y="50%" anchor="w"/>
      </item>
      </box>
      </item>
      </box>
      </item>
      </box>
      </item>
      </greeter>
      ####################################

      Comment

      Working...
      X