Hi,

I have the 2.4.1 version of Gnu Health installed and working fine! So I 
would like to inherit the new calendar view of appointments. The original 
XML is:


<?xml version="1.0"?>
<calendar string="Patient appointments" dtstart="appointment_date"
    dtend="appointment_date_end">
    <field name="name"/>
    <field name="patient"/>
</calendar>

Sou, I've created a new View inheriting this callendar to modify its 
visualization. I've tried the following XML:

<?xml version="1.0"?>
<data>
    <xpath expr="/calendar/field[@name=&quot;name&quot;]" 
position="replace">
<field name="patient"/>
    </xpath>
</data>

But, when I try to save It I got the message: "Invalid XML for view 
<my-view-name>".

Can anyone help me?

Thanks in advance!

Fabio

Reply via email to