﻿<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://xopus.com/forum.html</id>
  <title>Xopus Forum -  Xopus</title>
  <updated>2010-09-06T07:53:31+01:00</updated>
  <link href="http://xopus.com/forum.feed" rel="self" />
  <link href="http://xopus.com/forum.html" rel="alternate" />
  <author>
    <name>Xopus Support Team</name>
    <email>Support@xopus.com</email>
  </author>
  <entry>
    <title>right click menu</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/how-to/325.html#1378</id>
    <updated>2010-09-06T07:53:31+01:00</updated>
    <link href="http://xopus.com/forum/how-to/325.html#1378" />
    <summary>How I can add a button to the right click menu?
And how to register the command of the menu item?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>How I can add a button to the right click menu?
<br />And how to register the command of the menu item?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Highlight</title>
    <author>
      <name>Fredrik Geers</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/324.html#1377</id>
    <updated>2010-08-27T07:35:58+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/324.html#1377" />
    <summary>If you want to save it, it must have some representation in the xml file, for example as elements. Then you would have to edit your xslt to render these elements with a different background.To apply these elements, you can make a selection, either a small portion of an element or a selection that spans more elements, and when you apply it several elements are created, one for each parent element.To create such a highlight, you would have to make a button that loops through the selection and creates the elements where needed, look at http://xopus.com/documentation/api/dom/xopusrange.html for a starting point on how to do this.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>If you want to save it, it must have some representation in the xml file, for example as elements. Then you would have to edit your xslt to render these elements with a different background.<br /><br />To apply these elements, you can make a selection, either a small portion of an element or a selection that spans more elements, and when you apply it several elements are created, one for each parent element.<br /><br />To create such a highlight, you would have to make a button that loops through the selection and creates the elements where needed, look at <a>http://xopus.com/documentation/api/dom/xopusrange.htmlhttp://xopus.com/documentation/api/dom/xopusrange.html</a> for a starting point on how to do this.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Highlight</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/324.html#1376</id>
    <updated>2010-08-27T03:09:06+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/324.html#1376" />
    <summary>Hello Fredrik,
I tried this example,but the effect was not that I want to achieve.
I want to change the background of selected content. 
The selected content is part of a xml element; 
and maybe the selected content span two xml element. 
At last ,I want to save the changed background.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello Fredrik,
<br />I tried this example,but the effect was not that I want to achieve.
<br />I want to change the background of selected content. 
<br />The selected content is part of a xml element; 
<br />and maybe the selected content span two xml element. 
<br />At last ,I want to save the changed background.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Highlight</title>
    <author>
      <name>Fredrik Geers</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/324.html#1375</id>
    <updated>2010-08-26T12:08:46+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/324.html#1375" />
    <summary>Hi Max,You might want to check out this article:http://xopus.com/devblog/2009/highlighting-the-current-context-element.htmlIs that what you are trying to achieve? </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi Max,<br />You might want to check out this article:<br /><a>http://xopus.com/devblog/2009/highlighting-the-current-context-element.htmlhttp://xopus.com/devblog/2009/highlighting-the-current-context-element.html</a><br />Is that what you are trying to achieve? </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Highlight</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/324.html#1374</id>
    <updated>2010-08-26T10:31:55+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/324.html#1374" />
    <summary>I want to change the background of selected content.
The selected content is part of a xml element;
and maybe the selected content span two xml element.
At last ,I want to save the Highlight.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I want to change the background of selected content.
<br />The selected content is part of a xml element;
<br />and maybe the selected content span two xml element.
<br />At last ,I want to save the Highlight.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Highlight</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/324.html#1373</id>
    <updated>2010-08-26T09:44:16+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/324.html#1373" />
    <summary>how to highlight the selected content in the xml of Xopus?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>how to highlight the selected content in the xml of Xopus?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Custom help online</title>
    <author>
      <name>Fredrik Geers</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/278.html#1372</id>
    <updated>2010-08-24T10:48:13+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/278.html#1372" />
    <summary>You can find several guides and references at our documentation section: http://xopus.com/documentation.htmlA good starting point is the developer guide, supplemented with the API and DOM references. If you still have specific questions, you can always contact us here or on support@xopus.com</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>You can find several guides and references at our documentation section: <a>http://xopus.com/documentation.htmlhttp://xopus.com/documentation.html</a><br /><br />A good starting point is the developer guide, supplemented with the API and DOM references. If you still have specific questions, you can always contact us here or on support@xopus.com</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Custom help online</title>
    <author>
      <name>Christine Bounds</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/278.html#1370</id>
    <updated>2010-08-16T00:28:23+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/278.html#1370" />
    <summary>Where can i get, a information about xopus? or a guide? thank you.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Where can i get, a information about xopus? or a guide? thank you.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Validating element content</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/323.html#1369</id>
    <updated>2010-08-09T10:42:09+01:00</updated>
    <link href="http://xopus.com/forum/how-to/323.html#1369" />
    <summary>Since you are saying "somehow", what you could do is to put warning messages in placeholders:http://xopus.com/documentation/configuration/elements/placeholder.htmlYou could a add a CSS rule .xopus-placeholder { color: red !important }to show the placeholders more prominently.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Since you are saying "somehow", what you could do is to put warning messages in placeholders:<br /><a>http://xopus.com/documentation/configuration/elements/placeholder.htmlhttp://xopus.com/documentation/configuration/elements/placeholder.html</a><br /><br />You could a add a CSS rule <br />.xopus-placeholder { color: red !important }<br />to show the placeholders more prominently.<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Validating element content</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/323.html#1368</id>
    <updated>2010-08-06T23:22:12+01:00</updated>
    <link href="http://xopus.com/forum/how-to/323.html#1368" />
    <summary>I have found that Xopus has a tendency to leave empty elements in the source document if the user is less than fastidious about checking the effects of what they are doing. I can easily delete such elements in a post-save XSL transform, but I would prefer the user to see a validation error while they are editing the document. Is there a set of methods/events which would allow me to do this?For example, suppose my schema has a "title" element which has a simple content model (in DTD form for brevity) of   (#PCDATA|em|bold|sup|sub)*The schema can't mandate this "mixed" element to contain something more than nothing, so Xopus allows the user to insert an empty title. I would like Xopus to object (somehow!) to anything the user does which produces an empty title element. (And I have a short list of other elements with similar semantic restrictions too.)Is there something I can do here, or am I barking up the wrong tree?CheersT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I have found that Xopus has a tendency to leave empty elements in the source document if the user is less than fastidious about checking the effects of what they are doing. I can easily delete such elements in a post-save XSL transform, but I would prefer the user to see a validation error while they are editing the document. Is there a set of methods/events which would allow me to do this?<br /><br />For example, suppose my schema has a "title" element which has a simple content model (in DTD form for brevity) of<br /><br />   (#PCDATA|em|bold|sup|sub)*<br /><br />The schema can't mandate this "mixed" element to contain something more than nothing, so Xopus allows the user to insert an empty title. I would like Xopus to object (somehow!) to anything the user does which produces an empty title element. (And I have a short list of other elements with similar semantic restrictions too.)<br /><br />Is there something I can do here, or am I barking up the wrong tree?<br /><br />Cheers<br />T<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Automatic message for unsupported browsers</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/316.html#1367</id>
    <updated>2010-08-02T12:35:50+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/316.html#1367" />
    <summary>Are you sure there's such a big difference between MSXML 4 and 6? I wasn't aware of that.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Are you sure there's such a big difference between MSXML 4 and 6? I wasn't aware of that.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Automatic message for unsupported browsers</title>
    <author>
      <name>EdoP</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/316.html#1366</id>
    <updated>2010-08-02T10:56:41+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/316.html#1366" />
    <summary>Ok that is great! But is there also a message if MSXML 6 is not installed? I know about the test on http://xopus.com/files/msxmltester/, but a lot of users do not. The problem is that Xopus 'kind of' works with MSXML 4, but it is buggy / slow. This leaves users frustrated as they feel the editor is not working properly, even though the solution to the problem (installing MSXML 6) is very simple. </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ok that is great! But is there also a message if MSXML 6 is not installed? I know about the test on <a>http://xopus.com/files/msxmltester/,http://xopus.com/files/msxmltester/,</a> but a lot of users do not. The problem is that Xopus 'kind of' works with MSXML 4, but it is buggy / slow. This leaves users frustrated as they feel the editor is not working properly, even though the solution to the problem (installing MSXML 6) is very simple. </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Can the xml in Xopus communicate with the WebApplication created by VS2010?</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/322.html#1365</id>
    <updated>2010-07-29T10:06:07+01:00</updated>
    <link href="http://xopus.com/forum/how-to/322.html#1365" />
    <summary>A WebApplication is just a website in the end. Xopus consists of an HTML page with a lot of Javascript. In order to "add" Xopus in your WebApplication I suggest you read the developer guide available from the documentation page. You can then download Xopus and place it in your WebApplication.The developer guide will teach you how to give Xopus a place, and how to load and save documents. Using the API you can then use AJAX calls to communicate the XML or parts thereof to other pages.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>A WebApplication is just a website in the end. Xopus consists of an HTML page with a lot of Javascript. In order to "add" Xopus in your WebApplication I suggest you read the developer guide available from the documentation page. <br /><br />You can then download Xopus and place it in your WebApplication.<br /><br />The developer guide will teach you how to give Xopus a place, and how to load and save documents. Using the API you can then use AJAX calls to communicate the XML or parts thereof to other pages.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Can the xml in Xopus communicate with the WebApplication created by VS2010?</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/how-to/322.html#1364</id>
    <updated>2010-07-29T02:32:10+01:00</updated>
    <link href="http://xopus.com/forum/how-to/322.html#1364" />
    <summary>Then,is there any help document to tell me how I can add Xopus in to my WebApplication?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Then,is there any help document to tell me how I can add Xopus in to my WebApplication?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Can the xml in Xopus communicate with the WebApplication created by VS2010?</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/322.html#1363</id>
    <updated>2010-07-28T15:00:05+01:00</updated>
    <link href="http://xopus.com/forum/how-to/322.html#1363" />
    <summary>Sure. Xopus allows you to do anything you can do in a normal HTML page. This includes AJAX calls which is what you need here.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Sure. Xopus allows you to do anything you can do in a normal HTML page. This includes AJAX calls which is what you need here.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Can the xml in Xopus communicate with the WebApplication created by VS2010?</title>
    <author>
      <name>Max</name>
    </author>
    <id>http://xopus.com/forum/how-to/322.html#1362</id>
    <updated>2010-07-28T10:01:05+01:00</updated>
    <link href="http://xopus.com/forum/how-to/322.html#1362" />
    <summary>Can the xml in Xopus communicate with the WebApplication created by VS2010?
I want to get the value of the xml node and pass it to another page in WebApplication .</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Can the xml in Xopus communicate with the WebApplication created by VS2010?
<br />I want to get the value of the xml node and pass it to another page in WebApplication .</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>reset hasUnsavedChanges flag</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/321.html#1355</id>
    <updated>2010-07-09T10:57:57+01:00</updated>
    <link href="http://xopus.com/forum/how-to/321.html#1355" />
    <summary>The only way I can think of is to load the document again, which will have some side-effects like resetting the selection.Editor.getActiveCanvas().loadDocument(uri, true)</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>The only way I can think of is to load the document again, which will have some side-effects like resetting the selection.<br /><br />Editor.getActiveCanvas().loadDocument(uri, true)</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>reset hasUnsavedChanges flag</title>
    <author>
      <name>Yuriy</name>
    </author>
    <id>http://xopus.com/forum/how-to/321.html#1354</id>
    <updated>2010-07-08T14:05:48+01:00</updated>
    <link href="http://xopus.com/forum/how-to/321.html#1354" />
    <summary>I use external script for saving XML from Xopus. I don't use saving function of Xopus' API.

How I can with API reset hasUnsavedChanges flag?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I use external script for saving XML from Xopus. I don't use saving function of Xopus' API.
<br />
<br />How I can with API reset hasUnsavedChanges flag?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Review Mode</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/320.html#1353</id>
    <updated>2010-07-02T09:36:34+01:00</updated>
    <link href="http://xopus.com/forum/how-to/320.html#1353" />
    <summary>I'd say that this is pretty clean. We wouldn't build it very differently ourselves.Other options you have are to use the XSL and string() to confuse Xopus about where the contents came from, but this would not prevent splits, or inserts of other elements.A stronger way of preventing anything from happening is to use " throw new Editor.RevertingException(); ", as this will also revert anything that might have happened before you canceled the event. I am not sure you need it.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I'd say that this is pretty clean. We wouldn't build it very differently ourselves.<br /><br />Other options you have are to use the XSL and string() to confuse Xopus about where the contents came from, but this would not prevent splits, or inserts of other elements.<br /><br />A stronger way of preventing anything from happening is to use " throw new Editor.RevertingException(); ", as this will also revert anything that might have happened before you canceled the event. I am not sure you need it.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Review Mode / I knew it</title>
    <author>
      <name>Lawrence Spear</name>
    </author>
    <id>http://xopus.com/forum/how-to/320.html#1352</id>
    <updated>2010-07-02T00:37:49+01:00</updated>
    <link href="http://xopus.com/forum/how-to/320.html#1352" />
    <summary>I knew as soon as I posted my question I'd figure it out.  Here's the roughed in code that gets it to work:

function doLoad(evt)
{
  //get the XML document that has been loaded
  var doc = evt.document;
  //attach an event to the document, listening to when element have been inserted
  //doc.addEventListener("XopusBeforeSubtreeModified", doNothing);
  doc.addEventListener("XopusBeforeNodeValueModified", doNothing);
  doc.addEventListener("XopusBeforeChildInserted", doNothingChildNode);
  doc.addEventListener("XopusBeforeNodeSplit", doNothingSplitNode);
}

function doNothing(evt) {
    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {
       
    }
    else {
        evt.cancelEvent = true;
    }
}

function doNothingChildNode(evt) {
    if (evt.childNode.getNodeName() == "reviewer.note" || evt.target.getNodeName() == "reviewer.note") {

    }
    else {
        evt.cancelEvent = true;
    }
}

function doNothingSplitNode(evt) {
    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {

    }
    else {
        evt.cancelEvent = true;
    }
}

Now I guess my question is... Is there a cleaner way than this?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I knew as soon as I posted my question I'd figure it out.  Here's the roughed in code that gets it to work:
<br />
<br />function doLoad(evt)
<br />{
<br />  //get the XML document that has been loaded
<br />  var doc = evt.document;
<br />  //attach an event to the document, listening to when element have been inserted
<br />  //doc.addEventListener("XopusBeforeSubtreeModified", doNothing);
<br />  doc.addEventListener("XopusBeforeNodeValueModified", doNothing);
<br />  doc.addEventListener("XopusBeforeChildInserted", doNothingChildNode);
<br />  doc.addEventListener("XopusBeforeNodeSplit", doNothingSplitNode);
<br />}
<br />
<br />function doNothing(evt) {
<br />    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {
<br />       
<br />    }
<br />    else {
<br />        evt.cancelEvent = true;
<br />    }
<br />}
<br />
<br />function doNothingChildNode(evt) {
<br />    if (evt.childNode.getNodeName() == "reviewer.note" || evt.target.getNodeName() == "reviewer.note") {
<br />
<br />    }
<br />    else {
<br />        evt.cancelEvent = true;
<br />    }
<br />}
<br />
<br />function doNothingSplitNode(evt) {
<br />    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {
<br />
<br />    }
<br />    else {
<br />        evt.cancelEvent = true;
<br />    }
<br />}
<br />
<br />Now I guess my question is... Is there a cleaner way than this?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Review Mode</title>
    <author>
      <name>Lawrence Spear</name>
    </author>
    <id>http://xopus.com/forum/how-to/320.html#1351</id>
    <updated>2010-07-02T00:20:53+01:00</updated>
    <link href="http://xopus.com/forum/how-to/320.html#1351" />
    <summary>How do I configure Xopus so the user can only add one element and edit the text in that element?

The following sorta works:

function doLoad(evt)
{
  //get the XML document that has been loaded
  var doc = evt.document;
  //attach an event to the document, listening to when element have been inserted
  //doc.addEventListener("XopusBeforeSubtreeModified", doNothing);
  doc.addEventListener("XopusBeforeNodeValueModified", doNothing);
  doc.addEventListener("XopusBeforeChildInserted", doNothingChildNode);
}

function doNothing(evt) {
    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {
       
    }
    else {
        evt.cancelEvent = true;
    }
}

function doNothingChildNode(evt) {
    if (evt.childNode.getNodeName() != "reviewer.note") {
        evt.cancelEvent = true;
    }
}

But when I try to insert the reviewer.note, it doesn't let me type in the newly created element.  How do I get it to let text nodes inside reviewer.notes to be added?
</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>How do I configure Xopus so the user can only add one element and edit the text in that element?
<br />
<br />The following sorta works:
<br />
<br />function doLoad(evt)
<br />{
<br />  //get the XML document that has been loaded
<br />  var doc = evt.document;
<br />  //attach an event to the document, listening to when element have been inserted
<br />  //doc.addEventListener("XopusBeforeSubtreeModified", doNothing);
<br />  doc.addEventListener("XopusBeforeNodeValueModified", doNothing);
<br />  doc.addEventListener("XopusBeforeChildInserted", doNothingChildNode);
<br />}
<br />
<br />function doNothing(evt) {
<br />    if (evt.target.getNodeName() == "reviewer.note" || evt.target.getParentNode().getNodeName() == "reviewer.note") {
<br />       
<br />    }
<br />    else {
<br />        evt.cancelEvent = true;
<br />    }
<br />}
<br />
<br />function doNothingChildNode(evt) {
<br />    if (evt.childNode.getNodeName() != "reviewer.note") {
<br />        evt.cancelEvent = true;
<br />    }
<br />}
<br />
<br />But when I try to insert the reviewer.note, it doesn't let me type in the newly created element.  How do I get it to let text nodes inside reviewer.notes to be added?
<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>hide element choice?</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/319.html#1350</id>
    <updated>2010-06-30T11:22:55+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/319.html#1350" />
    <summary>Yes, assign the role "hidden-from-ui" to the old element.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Yes, assign the role "hidden-from-ui" to the old element.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>hide element choice?</title>
    <author>
      <name>Barry</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/319.html#1349</id>
    <updated>2010-06-29T17:13:04+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/319.html#1349" />
    <summary>Our XSD allows a choice of three elements.  Recently one was renamed.We'd like to avoid re-writing all our XML documents to use the new element name.Is it possible to continue to allow both the old and new names, but simply not show the old element as a choice in the selection list in Xopus?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Our XSD allows a choice of three elements.  Recently one was renamed.<br /><br />We'd like to avoid re-writing all our XML documents to use the new element name.<br /><br />Is it possible to continue to allow both the old and new names, but simply not show the old element as a choice in the selection list in Xopus?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>table editor doesn't create table header.</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/318.html#1348</id>
    <updated>2010-06-29T16:03:47+01:00</updated>
    <link href="http://xopus.com/forum/how-to/318.html#1348" />
    <summary>Ok thx for your help.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ok thx for your help.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>table editor doesn't create table header.</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/318.html#1347</id>
    <updated>2010-06-29T15:48:38+01:00</updated>
    <link href="http://xopus.com/forum/how-to/318.html#1347" />
    <summary>This is a known limitation of the current implementation if I am not mistaken. Xopus requires the footer rows to come after the body rows.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>This is a known limitation of the current implementation if I am not mistaken. Xopus requires the footer rows to come after the body rows.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>table editor doesn't create table header.</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/318.html#1346</id>
    <updated>2010-06-29T10:32:51+01:00</updated>
    <link href="http://xopus.com/forum/how-to/318.html#1346" />
    <summary>Great. That did the job. But now the footer makes problems. I gave the tablefooter role to the tfoot element like this: &lt;x:node match="tfoot"&gt;&lt;x:role&gt;tablefooter&lt;/x:role&gt;&lt;/x:node&gt;When i do this, the editor creates a new tgroup below the tgroup where tbody and thead is in and writes the colspec in the later tgroup. Like this:			&lt;table&gt;				&lt;tgroup cols=""&gt;					&lt;thead&gt;						&lt;row&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;						&lt;/row&gt;					&lt;/thead&gt;					&lt;tbody&gt;						&lt;row&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;						&lt;/row&gt;						&lt;row&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;						&lt;/row&gt;						&lt;row&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;						&lt;/row&gt;					&lt;/tbody&gt;				&lt;/tgroup&gt;				&lt;tgroup cols="1"&gt;					&lt;colspec colname="colA" /&gt;					&lt;tfoot&gt;						&lt;row&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;							&lt;entry /&gt;						&lt;/row&gt;					&lt;/tfoot&gt;					&lt;tbody&gt;						&lt;row&gt;							&lt;entry /&gt;						&lt;/row&gt;					&lt;/tbody&gt;				&lt;/tgroup&gt;			&lt;/table&gt;</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Great. That did the job. But now the footer makes problems. I gave the tablefooter role to the tfoot element like this: <br />&lt;x:node match="tfoot"&gt;<br />&lt;x:role&gt;tablefooter&lt;/x:role&gt;<br />&lt;/x:node&gt;<br />When i do this, the editor creates a new tgroup below the tgroup where tbody and thead is in and writes the colspec in the later tgroup. Like this:<br />			&lt;table&gt;<br />				&lt;tgroup cols=""&gt;<br />					&lt;thead&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />					&lt;/thead&gt;<br />					&lt;tbody&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />					&lt;/tbody&gt;<br />				&lt;/tgroup&gt;<br />				&lt;tgroup cols="1"&gt;<br />					&lt;colspec colname="colA" /&gt;<br />					&lt;tfoot&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />					&lt;/tfoot&gt;<br />					&lt;tbody&gt;<br />						&lt;row&gt;<br />							&lt;entry /&gt;<br />						&lt;/row&gt;<br />					&lt;/tbody&gt;<br />				&lt;/tgroup&gt;<br />			&lt;/table&gt;</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>table editor doesn't create table header.</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/318.html#1345</id>
    <updated>2010-06-29T09:55:04+01:00</updated>
    <link href="http://xopus.com/forum/how-to/318.html#1345" />
    <summary>Have you tried to remove the tableheadercell role? That role use used for the HTML table model and might confuse the table inserter.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Have you tried to remove the tableheadercell role? That role use used for the HTML table model and might confuse the table inserter.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>table editor doesn't create table header.</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/318.html#1344</id>
    <updated>2010-06-28T15:14:35+01:00</updated>
    <link href="http://xopus.com/forum/how-to/318.html#1344" />
    <summary>Hey guys,i'm currently trying to configure the built-in table editor properly but i can't get it to create a table header.  Our table model is leaned on the cals table model and built as follows:&lt;table&gt;&lt;tgroup&gt;&lt;colspec column=“name“/&gt;...&lt;thead&gt; (the header which makes the problems)&lt;row&gt;&lt;entry&gt; &lt;p/&gt; for a normal entry, &lt;li&gt; for a list item and &lt;img&gt; for a image &lt;/entry&gt;&lt;/row&gt;&lt;/thead&gt;&lt;tfoot&gt; row, entry... like in &lt;thead&gt; … &lt;/tfoot&gt;&lt;tbody&gt; row, entry like in &lt;thead&gt; and &lt;tfoot... &lt;/tbody&gt;The roles i applied for the header&lt;x:node match="thead"&gt;&lt;x:role&gt;tableheader&lt;/x:role&gt;&lt;x:role&gt;tablerowcontainer&lt;/x:role&gt;&lt;/x:node&gt;		&lt;x:node match="thead/row/entry"&gt;&lt;x:role&gt;tableheadercell&lt;/x:role&gt;&lt;/x:node&gt;The editor offers the checkbox to select whether a header should be insterted or not but if selected that a header should be created a tbody, row is created.Are the roles properly set?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hey guys,<br /><br />i'm currently trying to configure the built-in table editor properly but i can't get it to create a table header.  Our table model is leaned on the cals table model and built as follows:<br />&lt;table&gt;<br />&lt;tgroup&gt;<br />&lt;colspec column=“name“/&gt;...<br />&lt;thead&gt; (the header which makes the problems)<br />&lt;row&gt;<br />&lt;entry&gt; &lt;p/&gt; for a normal entry, &lt;li&gt; for a list item and &lt;img&gt; for a image &lt;/entry&gt;<br />&lt;/row&gt;<br />&lt;/thead&gt;<br />&lt;tfoot&gt; row, entry... like in &lt;thead&gt; … &lt;/tfoot&gt;<br />&lt;tbody&gt; row, entry like in &lt;thead&gt; and &lt;tfoot... &lt;/tbody&gt;<br /><br />The roles i applied for the header<br /><br />&lt;x:node match="thead"&gt;<br />&lt;x:role&gt;tableheader&lt;/x:role&gt;<br />&lt;x:role&gt;tablerowcontainer&lt;/x:role&gt;<br />&lt;/x:node&gt;<br />		<br />&lt;x:node match="thead/row/entry"&gt;<br />&lt;x:role&gt;tableheadercell&lt;/x:role&gt;<br />&lt;/x:node&gt;<br /><br />The editor offers the checkbox to select whether a header should be insterted or not but if selected that a header should be created a tbody, row is created.<br /><br />Are the roles properly set?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>what is "\u02A0.\u0426() is null"</title>
    <author>
      <name>Yuriy</name>
    </author>
    <id>http://xopus.com/forum/how-to/317.html#1342</id>
    <updated>2010-06-18T16:05:39+01:00</updated>
    <link href="http://xopus.com/forum/how-to/317.html#1342" />
    <summary>Thx, I already fixed this problem.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Thx, I already fixed this problem.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>what is "\u02A0.\u0426() is null"</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/317.html#1341</id>
    <updated>2010-06-18T08:42:47+01:00</updated>
    <link href="http://xopus.com/forum/how-to/317.html#1341" />
    <summary>Can you use Ctrl+Alt+R after starting Xopus to send us a reproducer? We can take a look at the case then and give you an answers.The error is an error in Xopus, but it is crypted, so we cannot see from this end either what the problem is. Using your case in an unencrypted Xopus allows us to find the problem.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Can you use Ctrl+Alt+R after starting Xopus to send us a reproducer? We can take a look at the case then and give you an answers.<br /><br />The error is an error in Xopus, but it is crypted, so we cannot see from this end either what the problem is. Using your case in an unencrypted Xopus allows us to find the problem.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>what is "\u02A0.\u0426() is null"</title>
    <author>
      <name>Yuriy</name>
    </author>
    <id>http://xopus.com/forum/how-to/317.html#1340</id>
    <updated>2010-06-14T14:50:58+01:00</updated>
    <link href="http://xopus.com/forum/how-to/317.html#1340" />
    <summary>I added new button to toolbar with command what inserting element into my document. But after inserting I see the message "\u02A0.\u0426() is null" and Xopus stops working correctly.

What does this message?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I added new button to toolbar with command what inserting element into my document. But after inserting I see the message "\u02A0.\u0426() is null" and Xopus stops working correctly.
<br />
<br />What does this message?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1339</id>
    <updated>2010-06-10T17:08:24+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1339" />
    <summary>Ooh, cancel that - it's there :-)Cheers</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ooh, cancel that - it's there :-)<br /><br />Cheers<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1338</id>
    <updated>2010-06-10T17:07:10+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1338" />
    <summary>Hi, can you provide an (approximate) ETA for 4.1.3 please?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi, can you provide an (approximate) ETA for 4.1.3 please?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Automatic message for unsupported browsers</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/316.html#1337</id>
    <updated>2010-06-09T21:29:48+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/316.html#1337" />
    <summary>There is. I just went to http://xopus.com/demo/simplewith Safari and this was the page that Xopus then shows:http://xopus.com/files/demo/xopus/media/requirements.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>There is. I just went to <br /><a>http://xopus.com/demo/simplehttp://xopus.com/demo/simple</a><br />with Safari and this was the page that Xopus then shows:<br /><a>http://xopus.com/files/demo/xopus/media/requirements.htmlhttp://xopus.com/files/demo/xopus/media/requirements.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Automatic message for unsupported browsers</title>
    <author>
      <name>Edo</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/316.html#1336</id>
    <updated>2010-06-09T13:33:45+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/316.html#1336" />
    <summary>Feature request: we often get questions of users that do not use a supported browser, or do not have the right MSXML installed. Would it be possible to build in an automatic message whenever someone uses Xopus with an unsopported browser or with the wrong MSXML? I believe this would save a lot of frustration for users.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Feature request: we often get questions of users that do not use a supported browser, or do not have the right MSXML installed. Would it be possible to build in an automatic message whenever someone uses Xopus with an unsopported browser or with the wrong MSXML? I believe this would save a lot of frustration for users.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1335</id>
    <updated>2010-05-28T14:37:36+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1335" />
    <summary>Then this is a know bug, which will be fixed in 4.1.3.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Then this is a know bug, which will be fixed in 4.1.3.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1334</id>
    <updated>2010-05-27T17:26:54+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1334" />
    <summary>IE 8.The stylesheet which we supply to Xopus to map XML to HTML generates a meta tag of X-UA-Compatible, IE=EmulateIE8 in the html header.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>IE 8.<br /><br />The stylesheet which we supply to Xopus to map XML to HTML generates a meta tag of X-UA-Compatible, IE=EmulateIE8 in the html header.<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1333</id>
    <updated>2010-05-27T14:07:21+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1333" />
    <summary>Which browser and which version are you using?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Which browser and which version are you using?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Problem with scrolling edited document</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/315.html#1332</id>
    <updated>2010-05-27T13:12:00+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/315.html#1332" />
    <summary>Following up http://xopus.com/forum/how-to/312.html (automatic scroll to anchor on open).Reverting the config.js to its original form, i.e. removing all the functions implementing the scroll-to feature, I am still experiencing problems with the editor.If the user (1) clicks in the document, (2) uses the vertical scrollbar to scroll up or down so that the cursor is no longer visible, (3) clicks again in the document:Xopus "jumps" the display and positions the cursor in the wrong place. The jump often leaves the "right" place outside the visible region, which leads to an extremely frustrating cycle of clicks and curses :-|I am using Xopus 4.1.2.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Following up <a>http://xopus.com/forum/how-to/312.htmlhttp://xopus.com/forum/how-to/312.html</a> (automatic scroll to anchor on open).<br /><br />Reverting the config.js to its original form, i.e. removing all the functions implementing the scroll-to feature, I am still experiencing problems with the editor.<br /><br />If the user (1) clicks in the document, (2) uses the vertical scrollbar to scroll up or down so that the cursor is no longer visible, (3) clicks again in the document:<br />Xopus "jumps" the display and positions the cursor in the wrong place. The jump often leaves the "right" place outside the visible region, which leads to an extremely frustrating cycle of clicks and curses :-|<br /><br />I am using Xopus 4.1.2.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position / minor issue with this</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1331</id>
    <updated>2010-05-26T10:50:01+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1331" />
    <summary>Xopus opens the document for editing and scrolls to the specified anchor. If the user clicks anywhere in the visible area of the document Xopus behaves correctly. However if the user drags the scrollbar up or down to display a different region and then clicks in the document, Xopus jumps and displays the cursor (or the highlight) somewhere else. For example, if I scroll up a page and click at the beginning of a line in the middle of the view, Xopus will redisplay the document so that the line I clicked in is the very first visible line - but the cursor will be near the end of the line. If instead of clicking in the line I double click a word in a line Xopus will suddenly scroll up and highlight a completely different word several paragraphs below where I was clicking.It is not the scrollToId listener that is doing this, because an alert in the listener is displayed when the document opens, and not displayed when the user clicks. It appears to be one of the default listeners which is generating this wrong behaviour after we have scrolled our anchor into view.Any ideas?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Xopus opens the document for editing and scrolls to the specified anchor. If the user clicks anywhere in the visible area of the document Xopus behaves correctly. However if the user drags the scrollbar up or down to display a different region and then clicks in the document, Xopus jumps and displays the cursor (or the highlight) somewhere else. For example, if I scroll up a page and click at the beginning of a line in the middle of the view, Xopus will redisplay the document so that the line I clicked in is the very first visible line - but the cursor will be near the end of the line. If instead of clicking in the line I double click a word in a line Xopus will suddenly scroll up and highlight a completely different word several paragraphs below where I was clicking.<br /><br />It is not the scrollToId listener that is doing this, because an alert in the listener is displayed when the document opens, and not displayed when the user clicks. It appears to be one of the default listeners which is generating this wrong behaviour after we have scrolled our anchor into view.<br /><br />Any ideas?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>How to change the Xopus Tools bar</title>
    <author>
      <name>Laurens</name>
    </author>
    <id>http://xopus.com/forum/how-to/314.html#1330</id>
    <updated>2010-05-19T13:22:54+01:00</updated>
    <link href="http://xopus.com/forum/how-to/314.html#1330" />
    <summary>For Xopus 4 see: http://xopus.com/documentation/how-to/add-a-button-to-the-toolbar-in-xopus-4.htmlFor Xopus 3 see: http://xopus.com/documentation/how-to/add-a-button-to-the-toolbar.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>For Xopus 4 see: <a>http://xopus.com/documentation/how-to/add-a-button-to-the-toolbar-in-xopus-4.htmlhttp://xopus.com/documentation/how-to/add-a-button-to-the-toolbar-in-xopus-4.html</a><br /><br />For Xopus 3 see: <a>http://xopus.com/documentation/how-to/add-a-button-to-the-toolbar.htmlhttp://xopus.com/documentation/how-to/add-a-button-to-the-toolbar.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position / :-)</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1329</id>
    <updated>2010-05-18T15:20:32+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1329" />
    <summary>Brilliant!Thank you so muchT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Brilliant!<br /><br />Thank you so much<br />T<br /><br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position / Another try</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1328</id>
    <updated>2010-05-18T12:43:04+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1328" />
    <summary>var originalLoadXMLFunction = IO.getLoadXMLFunction();var hashPart;var range;function getHashPart(uri){  var hashPos = uri.indexOf("#");  if (hashPos &gt; -1)  {    hashPart = uri.substr(hashPos);    uri = uri.substr(0, hashPos);    Editor.addEventListener("xmlContextChange", scrollToId);  }  return originalLoadXMLFunction(uri);}IO.setLoadXMLFunction(getHashPart);function scrollToId(evt){  if (!range)  {    range = Editor.Selection.getRange();    if (!range) return;  }  Editor.removeEventListener("xmlContextChange", scrollToId);  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']");  if (node)  {    range.selectNode(node);    range.collapse(true);    setTimeout(function() {       Editor.Selection.setRange(range);       var htmlNode = Editor.getHTMLElementsForXMLNode(node)[0];      if (htmlNode) htmlNode.scrollIntoView(true);    }, 0);  }}</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>var originalLoadXMLFunction = IO.getLoadXMLFunction();<br />var hashPart;<br />var range;<br /><br />function getHashPart(uri)<br />{<br />  var hashPos = uri.indexOf("#");<br />  if (hashPos &gt; -1)<br />  {<br />    hashPart = uri.substr(hashPos);<br />    uri = uri.substr(0, hashPos);<br />    Editor.addEventListener("xmlContextChange", scrollToId);<br />  }<br />  return originalLoadXMLFunction(uri);<br />}<br />IO.setLoadXMLFunction(getHashPart);<br /><br />function scrollToId(evt)<br />{<br />  if (!range)<br />  {<br />    range = Editor.Selection.getRange();<br />    if (!range) return;<br />  }<br />  Editor.removeEventListener("xmlContextChange", scrollToId);<br />  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']");<br />  if (node)<br />  {<br />    range.selectNode(node);<br />    range.collapse(true);<br />    setTimeout(function() { <br />      Editor.Selection.setRange(range); <br />      var htmlNode = Editor.getHTMLElementsForXMLNode(node)[0];<br />      if (htmlNode) htmlNode.scrollIntoView(true);<br />    }, 0);<br />  }<br />}</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1327</id>
    <updated>2010-05-17T07:22:16+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1327" />
    <summary>&gt; Documented, you mean like this?Sorry, I must have missed it. Intuitively "context change" isn't the right event to use for this feature, but "load" (which makes more  sense to me) didn't seem to work when I tried it. The redraw event has empty documentation so I've no idea whether it is a sensible option or not - but I'll try it next :-)</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>&gt; Documented, you mean like this?<br /><br />Sorry, I must have missed it. Intuitively "context change" isn't the right event to use for this feature, but "load" (which makes more  sense to me) didn't seem to work when I tried it. The redraw event has empty documentation so I've no idea whether it is a sensible option or not - but I'll try it next :-)</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>How to change the Xopus Tools bar</title>
    <author>
      <name>Joulu</name>
    </author>
    <id>http://xopus.com/forum/how-to/314.html#1326</id>
    <updated>2010-05-17T05:08:30+01:00</updated>
    <link href="http://xopus.com/forum/how-to/314.html#1326" />
    <summary>Hello all,   I want to remove some buttons which don't use in my Project,and add some new button. Can you tell how to do it?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello all,<br />   I want to remove some buttons which don't use in my Project,and add some new button. Can you tell how to do it?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1324</id>
    <updated>2010-05-15T23:51:36+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1324" />
    <summary>Documented, you mean like this?http://xopus.com/documentation/api/editor/editor.gethtmlelementsforxmlnode.htmlThe only reason I used xmlContextChange is that the API really is missing a createRange method, and the only way to get one is getRange, which in this case apparently often returns null.It works the first time, so the script could be adapted to reuse that range. I'll give it a shot when I'm back at work on Tuesday, unless you get it working before then.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Documented, you mean like this?<br /><a>http://xopus.com/documentation/api/editor/editor.gethtmlelementsforxmlnode.htmlhttp://xopus.com/documentation/api/editor/editor.gethtmlelementsforxmlnode.html</a><br /><br />The only reason I used xmlContextChange is that the API really is missing a createRange method, and the only way to get one is getRange, which in this case apparently often returns null.<br /><br />It works the first time, so the script could be adapted to reuse that range. I'll give it a shot when I'm back at work on Tuesday, unless you get it working before then.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position / need to redraw or something</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1323</id>
    <updated>2010-05-14T19:12:11+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1323" />
    <summary>working brilliantly - with one caveat. On the load of the initial url everything is perfect. The document opens and immediately scrolls to the correct location.However when a second url is loaded the xml context change (the event we listen for to trigger the scroll-into-view) doesn't happen until the user clicks in this new document. At that point they suddenly find the document redrawn (and if they were trying to select a word they find they have selected a huge chunk of the document!)Thus: on the initial load the xml context change is fired without user input, but on subsequent loads it is not. What do you suggest as a solution here?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>working brilliantly - with one caveat. <br /><br />On the load of the initial url everything is perfect. The document opens and immediately scrolls to the correct location.<br /><br />However when a second url is loaded the xml context change (the event we listen for to trigger the scroll-into-view) doesn't happen until the user clicks in this new document. At that point they suddenly find the document redrawn (and if they were trying to select a word they find they have selected a huge chunk of the document!)<br /><br />Thus: on the initial load the xml context change is fired without user input, but on subsequent loads it is not. What do you suggest as a solution here?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position / Editor.getHTMLElementsForXMLNode</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1322</id>
    <updated>2010-05-14T13:33:11+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1322" />
    <summary>Aha! This method needs to be documented :-)Thanks very muchT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Aha! This method needs to be documented :-)<br /><br />Thanks very much<br />T<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1321</id>
    <updated>2010-05-14T13:04:11+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1321" />
    <summary>1. This is an Xopus bug. You can work around it by doing the setRange in a setTimeout.2/3. Then the getRange probably returns null.4. This can be fixed by getting the corresponding html node, and calling scrollIntoView on it.This code has these fixes applied:var originalLoadXMLFunction = IO.getLoadXMLFunction();var hashPart;function getHashPart(uri){  var hashPos = uri.indexOf("#");  if (hashPos &gt; -1)  {    hashPart = uri.substr(hashPos);    uri = uri.substr(0, hashPos);    Editor.addEventListener("xmlContextChange", scrollToId);  }  return originalLoadXMLFunction(uri);}IO.setLoadXMLFunction(getHashPart);function scrollToId(evt){  Editor.removeEventListener("xmlContextChange", scrollToId);  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']");  if (node)  {    var rng = Editor.Selection.getRange();    if (!rng)    {      // try again      Editor.addEventListener("xmlContextChange", scrollToId);      return;    }    rng.selectNode(node);    rng.collapse(true);    setTimeout(function() {       Editor.Selection.setRange(rng);       var htmlNode = Editor.getHTMLElementsForXMLNode(node)[0];      if (htmlNode) htmlNode.scrollIntoView(true);    }, 0);  }}</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>1. This is an Xopus bug. You can work around it by doing the setRange in a setTimeout.<br />2/3. Then the getRange probably returns null.<br />4. This can be fixed by getting the corresponding html node, and calling scrollIntoView on it.<br /><br />This code has these fixes applied:<br /><br />var originalLoadXMLFunction = IO.getLoadXMLFunction();<br />var hashPart;<br /><br />function getHashPart(uri)<br />{<br />  var hashPos = uri.indexOf("#");<br />  if (hashPos &gt; -1)<br />  {<br />    hashPart = uri.substr(hashPos);<br />    uri = uri.substr(0, hashPos);<br />    Editor.addEventListener("xmlContextChange", scrollToId);<br />  }<br />  return originalLoadXMLFunction(uri);<br />}<br />IO.setLoadXMLFunction(getHashPart);<br /><br />function scrollToId(evt)<br />{<br />  Editor.removeEventListener("xmlContextChange", scrollToId);<br />  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']");<br />  if (node)<br />  {<br />    var rng = Editor.Selection.getRange();<br />    if (!rng)<br />    {<br />      // try again<br />      Editor.addEventListener("xmlContextChange", scrollToId);<br />      return;<br />    }<br />    rng.selectNode(node);<br />    rng.collapse(true);<br />    setTimeout(function() { <br />      Editor.Selection.setRange(rng); <br />      var htmlNode = Editor.getHTMLElementsForXMLNode(node)[0];<br />      if (htmlNode) htmlNode.scrollIntoView(true);<br />    }, 0);<br />  }<br />}</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>SpellChecker in Xopus 4.1.12</title>
    <author>
      <name>Laurens</name>
    </author>
    <id>http://xopus.com/forum/how-to/313.html#1320</id>
    <updated>2010-05-14T13:03:12+01:00</updated>
    <link href="http://xopus.com/forum/how-to/313.html#1320" />
    <summary>Xopus 4.x/4.1.12 does not support an external spell check server. It is a feature we are considering for a future release.Can you send an email to support@xopus.com to explain how this affects your project? We may be able to come up with a workaround.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Xopus 4.x/4.1.12 does not support an external spell check server. It is a feature we are considering for a future release.<br /><br />Can you send an email to<a>mailto: support@xopus.com support@xopus.com</a> to explain how this affects your project? We may be able to come up with a workaround.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1318</id>
    <updated>2010-05-14T09:56:55+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1318" />
    <summary>OK, here's the relevant part of my config.js as of today:var originalLoadXMLFunction = IO.getLoadXMLFunction();var hashPart;function getHashPart( uri ) {  var hashPos = uri.indexOf( "#" );  if ( hashPos &gt; -1 ) {    hashPart = uri.substr( hashPos );    uri = uri.substr( 0, hashPos );  }  else {    // without next line get null object error on opening xopus.html    hashPart = "#";  }  return originalLoadXMLFunction( uri );}IO.setLoadXMLFunction( getHashPart );function scrollToId( evt ) {  // only scroll once on load  Editor.removeEventListener( "xmlContextChange", scrollToId );  // this is the element AFTER the id  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[preceding-sibling::*[1]/@id='" + hashPart.substr(1) + "']//text()" );  if ( node ) {    var rng = Editor.Selection.getRange();    rng.selectNode( node );    rng.collapse( true );    Editor.Selection.setRange( rng );  }}Editor.addEventListener( "load", myLoadHandler );function myLoadHandler( evt ) {  // re-establish scroll on each new load  Editor.addEventListener( "xmlContextChange", scrollToId );}This code has the following problems:1. On the first document load the scroll happens, but the save button is enabled in the Xopus toolbar before the user types anything. A ctrl-Z clears the breadcrumb trail in the status line and disables the button, but I'm not sure why Xopus thinks the document has changed.2. Load a different document (or reload the same document) and scrolling does not happen, instead the user sees a scripting error which says:Line: 1Char: 1Error: 'null' is null or not an objectCode: 0URL: ../xopus/xopus.html3. Strangely, if the url passed to xopus's load includes a non-existent #anchor, this error doesn't happen!4. Not an error, but a quibble; the method used here to show more than a few pixels of the given id is a bit unsatisfactory, but I can't see a better way to achieve what I would like (which is to position the fragment corresponding to the given id at the top of the window).Thank you for your help so far!CheersT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>OK, here's the relevant part of my config.js as of today:<br /><br />var originalLoadXMLFunction = IO.getLoadXMLFunction();<br />var hashPart;<br /><br />function getHashPart( uri ) {<br />  var hashPos = uri.indexOf( "#" );<br />  if ( hashPos &gt; -1 ) {<br />    hashPart = uri.substr( hashPos );<br />    uri = uri.substr( 0, hashPos );<br />  }<br />  else {<br />    // without next line get null object error on opening xopus.html<br />    hashPart = "#";<br />  }<br />  return originalLoadXMLFunction( uri );<br />}<br />IO.setLoadXMLFunction( getHashPart );<br /><br />function scrollToId( evt ) {<br />  // only scroll once on load<br />  Editor.removeEventListener( "xmlContextChange", scrollToId );<br />  // this is the element AFTER the id<br />  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[preceding-sibling::*[1]/@id='" + hashPart.substr(1) + "']//text()" );<br />  if ( node ) {<br />    var rng = Editor.Selection.getRange();<br />    rng.selectNode( node );<br />    rng.collapse( true );<br />    Editor.Selection.setRange( rng );<br />  }<br />}<br /><br />Editor.addEventListener( "load", myLoadHandler );<br />function myLoadHandler( evt ) {<br />  // re-establish scroll on each new load<br />  Editor.addEventListener( "xmlContextChange", scrollToId );<br />}<br /><br />This code has the following problems:<br /><br />1. On the first document load the scroll happens, but the save button is enabled in the Xopus toolbar before the user types anything. A ctrl-Z clears the breadcrumb trail in the status line and disables the button, but I'm not sure why Xopus thinks the document has changed.<br /><br />2. Load a different document (or reload the same document) and scrolling does not happen, instead the user sees a scripting error which says:<br />Line: 1<br />Char: 1<br />Error: 'null' is null or not an object<br />Code: 0<br />URL: ../xopus/xopus.html<br /><br />3. Strangely, if the url passed to xopus's load includes a non-existent #anchor, this error doesn't happen!<br /><br />4. Not an error, but a quibble; the method used here to show more than a few pixels of the given id is a bit unsatisfactory, but I can't see a better way to achieve what I would like (which is to position the fragment corresponding to the given id at the top of the window).<br /><br />Thank you for your help so far!<br /><br />Cheers<br />T<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1317</id>
    <updated>2010-05-12T16:38:19+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1317" />
    <summary>One more thing; the display is scrolling so that the given element (an anchor placed immediately before a title, normally) is at the very bottom of the window. Is there a method that would position it at the top instead?Sorry to be tiresome; this would be a neat feature if we could get it right.CheersT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>One more thing; the display is scrolling so that the given element (an anchor placed immediately before a title, normally) is at the very bottom of the window. Is there a method that would position it at the top instead?<br /><br />Sorry to be tiresome; this would be a neat feature if we could get it right.<br /><br />Cheers<br />T</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1316</id>
    <updated>2010-05-12T16:22:52+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1316" />
    <summary>Cool, thanks!I am having two problems with this, though.Firstly, the code causes Xopus to think that the document has been modified, because the save button is already enabled when the document is displayed, and if the user navigates away the "unsaved edits" dialog appears.Secondly, if the user navigates away and then requests to edit again - either the same document and location, or a different location, or even a different document entirely, the scroll/redraw doesn't happen.I've checked the code very carefully and it matches yours precisely - and it is working the first time in, of course.Is there something we have overlooked?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Cool, thanks!<br /><br />I am having two problems with this, though.<br />Firstly, the code causes Xopus to think that the document has been modified, because the save button is already enabled when the document is displayed, and if the user navigates away the "unsaved edits" dialog appears.<br />Secondly, if the user navigates away and then requests to edit again - either the same document and location, or a different location, or even a different document entirely, the scroll/redraw doesn't happen.<br />I've checked the code very carefully and it matches yours precisely - and it is working the first time in, of course.<br /><br />Is there something we have overlooked?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>SpellChecker in Xopus 4.1.12</title>
    <author>
      <name>Chris</name>
    </author>
    <id>http://xopus.com/forum/how-to/313.html#1315</id>
    <updated>2010-05-12T16:06:56+01:00</updated>
    <link href="http://xopus.com/forum/how-to/313.html#1315" />
    <summary>Is is possible to configure an external spell check server as per Xopus 3.2.11 in the latest version (4.1.12) please? I see that the config element for this is marked as "unavailable"?We need to be able to add / remove words from the dictionary on the fly.Kind Regards,Chris</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Is is possible to configure an external spell check server as per Xopus 3.2.11 in the latest version (4.1.12) please? I see that the config element for this is marked as "unavailable"?<br /><br /><br />We need to be able to add / remove words from the dictionary on the fly.<br /><br />Kind Regards,<br />Chris</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1314</id>
    <updated>2010-05-12T12:32:26+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1314" />
    <summary>Interesting idea!The following code does this:var originalLoadXMLFunction = IO.getLoadXMLFunction();var hashPart;function getHashPart(uri){  var hashPos = uri.indexOf("#");  if (hashPos &gt; -1)  {    hashPart = uri.substr(hashPos);    uri = uri.substr(0, hashPos);  }  return originalLoadXMLFunction(uri);}IO.setLoadXMLFunction(getHashPart);function scrollToId(){  if (hashPart)    setTimeout(function () { document.location = hashPart; }, 100);  Editor.removeEventListener("afterRedraw", scrollToId);}Editor.addEventListener("afterRedraw", scrollToId);However, when testing this I noticed that it would be easier if the cursor would jump to the node with the id. (And scrolling then happens automatically.)Replace the last part of the above code with this:function scrollToId(evt){  Editor.removeEventListener("xmlContextChange", scrollToId);  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']//text()");  if (node)  {    var rng = Editor.Selection.getRange();    rng.selectNode(node);    rng.collapse(true);    Editor.Selection.setRange(rng);  }}Editor.addEventListener("xmlContextChange", scrollToId);</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Interesting idea!<br /><br />The following code does this:<br /><br />var originalLoadXMLFunction = IO.getLoadXMLFunction();<br />var hashPart;<br /><br />function getHashPart(uri)<br />{<br />  var hashPos = uri.indexOf("#");<br />  if (hashPos &gt; -1)<br />  {<br />    hashPart = uri.substr(hashPos);<br />    uri = uri.substr(0, hashPos);<br />  }<br />  return originalLoadXMLFunction(uri);<br />}<br />IO.setLoadXMLFunction(getHashPart);<br /><br />function scrollToId()<br />{<br />  if (hashPart)<br />    setTimeout(function () { document.location = hashPart; }, 100);<br />  Editor.removeEventListener("afterRedraw", scrollToId);<br />}<br />Editor.addEventListener("afterRedraw", scrollToId);<br /><br />However, when testing this I noticed that it would be easier if the cursor would jump to the node with the id. (And scrolling then happens automatically.)<br /><br />Replace the last part of the above code with this:<br /><br />function scrollToId(evt)<br />{<br />  Editor.removeEventListener("xmlContextChange", scrollToId);<br />  var node = Editor.getActiveCanvas().getDocument().selectSingleNode("//*[@id='" + hashPart.substr(1) + "']//text()");<br />  if (node)<br />  {<br />    var rng = Editor.Selection.getRange();<br />    rng.selectNode(node);<br />    rng.collapse(true);<br />    Editor.Selection.setRange(rng);<br />  }<br />}<br />Editor.addEventListener("xmlContextChange", scrollToId);<br /><br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>setting document position</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/312.html#1312</id>
    <updated>2010-05-11T18:14:58+01:00</updated>
    <link href="http://xopus.com/forum/how-to/312.html#1312" />
    <summary>I have a Xopus  Editor html page which contains an edit frame into which the xml document to edit is loaded. This is done by callingeditFrame.contentWindow.Editor.getActiveCanvas().loadDocument(myurl);If myurl is something like "myfile.xml#Links" I would like to open myfile.xml in the edit frame, and scroll immediately to the anchor named "Links". The anchor does exist; the XSL transform from xml to html generates named anchors for all id'ed elements.How can I implement this?Thanks</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I have a Xopus  Editor html page which contains an edit frame into which the xml document to edit is loaded. This is done by calling<br /><br />editFrame.contentWindow.Editor.getActiveCanvas().loadDocument(myurl);<br /><br />If myurl is something like "myfile.xml#Links" I would like to open myfile.xml in the edit frame, and scroll immediately to the anchor named "Links". The anchor does exist; the XSL transform from xml to html generates named anchors for all id'ed elements.<br /><br />How can I implement this?<br /><br />Thanks<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>xsl:include</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/310.html#1310</id>
    <updated>2010-05-04T10:01:26+01:00</updated>
    <link href="http://xopus.com/forum/how-to/310.html#1310" />
    <summary>It is used for all XSL resources.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>It is used for all XSL resources.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>xsl:include</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/how-to/310.html#1309</id>
    <updated>2010-05-03T15:56:47+01:00</updated>
    <link href="http://xopus.com/forum/how-to/310.html#1309" />
    <summary>Thanx.Is the LoadXSLFunction also called when the include is loaded, or only when the root xsl is loaded?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Thanx.<br /><br />Is the LoadXSLFunction also called when the include is loaded, or only when the root xsl is loaded?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>open lookup onclick</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/311.html#1308</id>
    <updated>2010-04-29T14:21:51+01:00</updated>
    <link href="http://xopus.com/forum/how-to/311.html#1308" />
    <summary>Yes, do attr.showLookup().</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Yes, do attr.showLookup().</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>xsl:include</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/310.html#1307</id>
    <updated>2010-04-29T12:56:34+01:00</updated>
    <link href="http://xopus.com/forum/how-to/310.html#1307" />
    <summary>See also IO.setLoadXSLFunctionhttp://xopus.com/documentation/api/io/io.setloadxslfunction.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>See also IO.setLoadXSLFunction<br /><a>http://xopus.com/documentation/api/io/io.setloadxslfunction.htmlhttp://xopus.com/documentation/api/io/io.setloadxslfunction.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1306</id>
    <updated>2010-04-29T12:46:35+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1306" />
    <summary>If this is indeed the problem mentioned on StackOverflow, then this is something we need to fix in the next version of Xopus.If you can, please send us your files to us so we can make sure it is fixed in the next release.To work around it, you can use IO.setLoadXMLFunction to remove the schemaLocation attribute from the XML file.http://xopus.com/documentation/api/io/io.setloadxmlfunction.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>If this is indeed the problem mentioned on StackOverflow, then this is something we need to fix in the next version of Xopus.<br /><br />If you can, please send us your files to us so we can make sure it is fixed in the next release.<br /><br />To work around it, you can use IO.setLoadXMLFunction to remove the schemaLocation attribute from the XML file.<br /><a>http://xopus.com/documentation/api/io/io.setloadxmlfunction.htmlhttp://xopus.com/documentation/api/io/io.setloadxmlfunction.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>open lookup onclick</title>
    <author>
      <name>Iddo</name>
    </author>
    <id>http://xopus.com/forum/how-to/311.html#1305</id>
    <updated>2010-04-29T23:00:25+01:00</updated>
    <link href="http://xopus.com/forum/how-to/311.html#1305" />
    <summary>Is it possible to use an onclick-event to open a lookup? Instead of using the attriubte editor..
I'm using Xopus 4.1.2</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Is it possible to use an onclick-event to open a lookup? Instead of using the attriubte editor..
<br />I'm using Xopus 4.1.2</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>xsl:include</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/310.html#1304</id>
    <updated>2010-04-29T23:00:01+01:00</updated>
    <link href="http://xopus.com/forum/how-to/310.html#1304" />
    <summary>Yes, that will work fine.  xsl:include and xsl:imports are resolved by Xopus.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Yes, that will work fine.  xsl:include and xsl:imports are resolved by Xopus.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>xsl:include</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/how-to/310.html#1303</id>
    <updated>2010-04-29T09:41:14+01:00</updated>
    <link href="http://xopus.com/forum/how-to/310.html#1303" />
    <summary>Hi,Is it possible to use xsl:includes (or xsl:imports) for the WYSIWYG stylesheet in Xopus?Our XSL code is retrieved from database, so we need to resolve the inlcude url. What would be the best way of working?Thanx.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi,<br /><br />Is it possible to use xsl:includes (or xsl:imports) for the WYSIWYG stylesheet in Xopus?<br /><br />Our XSL code is retrieved from database, so we need to resolve the inlcude url. What would be the best way of working?<br /><br />Thanx.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Joulu</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1302</id>
    <updated>2010-04-29T02:39:12+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1302" />
    <summary>browser name:Microsoft Internet Explorerbrowser version:4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; CIBA) DOMDocument FreeThreadedDOMDocument XSLTemplate XmlHttp XMLSchemaCache MSXML version 4: installed installed installed installed installed MSXML version 5: installed installed installed installed installed MSXML version 6: installed installed installed installed installed </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>browser name:<br />Microsoft Internet Explorer<br />browser version:<br />4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; CIBA)<br /> DOMDocument FreeThreadedDOMDocument XSLTemplate XmlHttp XMLSchemaCache <br />MSXML version 4: installed installed installed installed installed <br />MSXML version 5: installed installed installed installed installed <br />MSXML version 6: installed installed installed installed installed <br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1301</id>
    <updated>2010-04-28T10:59:10+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1301" />
    <summary>What version of MSXML are you using?You can test that here:http://xopus.com/files/msxmltester/</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>What version of MSXML are you using?<br />You can test that here:<br /><a>http://xopus.com/files/msxmltester/http://xopus.com/files/msxmltester/</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Joulu</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1300</id>
    <updated>2010-04-28T05:05:49+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1300" />
    <summary>IFY:I used the Altova XMLSpy to validate the xml, it is OK. But I don't know when I use the Xopus I got the error like that.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>IFY:I used the Altova XMLSpy to validate the xml, it is OK. But I don't know when I use the Xopus I got the error like that.<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Joulu</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1299</id>
    <updated>2010-04-28T05:03:13+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1299" />
    <summary>It seems both xsi:schemaLocation and the SchemaCache are used during validation resulting in a conflict. Ik know i can use ResolveExternal=False so xsi:schemaLocation won't be used, but in that case xsd:import/xsd:include are not resolved either, so that's not an option.pleas go to this website:http://stackoverflow.com/questions/1565608/schema-validation-error-duplicate-named-element-name-x</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>It seems both xsi:schemaLocation and the SchemaCache are used during validation resulting in a conflict. Ik know i can use ResolveExternal=False so xsi:schemaLocation won't be used, but in that case xsd:import/xsd:include are not resolved either, so that's not an option.<br />pleas go to this website:<br /><a>http://stackoverflow.com/questions/1565608/schema-validation-error-duplicate-named-element-name-xhttp://stackoverflow.com/questions/1565608/schema-validation-error-duplicate-named-element-name-x</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1298</id>
    <updated>2010-04-27T09:55:53+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1298" />
    <summary>I think this is an error in the schema, not in the XML file.Probably there are 2 schema files that both declare the same element. Maybe you need to import the schemas instead of including them?If you need more help, click the "Get help from Xopus" button in the error dialog. Then you will have the option of sending your files to us, which makes it a lot easier for us to help you find out what the problem is.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I think this is an error in the schema, not in the XML file.<br /><br />Probably there are 2 schema files that both declare the same element. Maybe you need to import the schemas instead of including them?<br /><br />If you need more help, click the "Get help from Xopus" button in the error dialog. Then you will have the option of sending your files to us, which makes it a lot easier for us to help you find out what the problem is.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Duplicate named &lt;element&gt; : name </title>
    <author>
      <name>Joulu</name>
    </author>
    <id>http://xopus.com/forum/how-to/309.html#1297</id>
    <updated>2010-04-27T08:50:00+01:00</updated>
    <link href="http://xopus.com/forum/how-to/309.html#1297" />
    <summary>Hi all,  My schema have include 4 other schema,when i validation Xopus throw this error to me?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi all,<br />  My schema have include 4 other schema,when i validation Xopus throw this error to me?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>lookup dialog</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/307.html#1296</id>
    <updated>2010-04-22T10:05:34+01:00</updated>
    <link href="http://xopus.com/forum/how-to/307.html#1296" />
    <summary>Node configuration is attached to schema items, so this is not going to work for processing instructions. You'll have to create your own lookup dialog, with you own iframe, and your own callback handler. Be sure to use Editor.runInTransaction in the callback, so the change to the PI will be undoable.Don't hesitate to ask more questions, it's quite non-standard what you are trying to do here, so the documentation will not be of much help.[1] http://xopus.com/documentation/api/editor/editor.runintransaction.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Node configuration is attached to schema items, so this is not going to work for processing instructions. You'll have to create your own lookup dialog, with you own iframe, and your own callback handler. Be sure to use Editor.runInTransaction in the callback, so the change to the PI will be undoable.<br /><br />Don't hesitate to ask more questions, it's quite non-standard what you are trying to do here, so the documentation will not be of much help.<br /><br />[1] <a>http://xopus.com/documentation/api/editor/editor.runintransaction.htmlhttp://xopus.com/documentation/api/editor/editor.runintransaction.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Table editor</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/295.html#1295</id>
    <updated>2010-04-22T09:35:23+01:00</updated>
    <link href="http://xopus.com/forum/how-to/295.html#1295" />
    <summary>There is no perfect way to solve this. The issue depends greatly on configuration and schema.Configuration can be used to map th and thead to their proper roles for the Xopus TableInserter. However this will not result in the expected result because the two elements more or less mean the same, also to Xopus. It will not give the following:&lt;thead&gt;  &lt;tr&gt;&lt;th&gt;...&lt;/thead&gt;&lt;tbody&gt;  &lt;tr&gt;&lt;td&gt;...&lt;/tbody&gt;Removing minOccurs="0" from the thead in the schema is probably the best solution, and then relying on the role for th to insert:&lt;tbody&gt;  &lt;tr&gt;&lt;th&gt;...  &lt;tr&gt;&lt;td&gt;...&lt;/tbody&gt;</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>There is no perfect way to solve this. The issue depends greatly on configuration and schema.<br /><br />Configuration can be used to map th and thead to their proper roles for the Xopus TableInserter. However this will not result in the expected result because the two elements more or less mean the same, also to Xopus. It will not give the following:<br /><br />&lt;thead&gt;<br />  &lt;tr&gt;&lt;th&gt;...<br />&lt;/thead&gt;<br />&lt;tbody&gt;<br />  &lt;tr&gt;&lt;td&gt;...<br />&lt;/tbody&gt;<br /><br />Removing minOccurs="0" from the thead in the schema is probably the best solution, and then relying on the role for th to insert:<br /><br />&lt;tbody&gt;<br />  &lt;tr&gt;&lt;th&gt;...<br />  &lt;tr&gt;&lt;td&gt;...<br />&lt;/tbody&gt;<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>lookup dialog</title>
    <author>
      <name>fredj</name>
    </author>
    <id>http://xopus.com/forum/how-to/307.html#1294</id>
    <updated>2010-04-21T18:02:29+01:00</updated>
    <link href="http://xopus.com/forum/how-to/307.html#1294" />
    <summary>Hello all,Thank for your help. Now I have a better understanding of the way lookup is working.I am able to trigger a lookup dialog when inserting an element.But what I was trying to achieve first was a bit different.Instead of triggering a lookup dialog upon element insertion, I would like to be able to trigger it when inserting a processing instruction (by clicking on a custom buton in the menu bar), so that I could select the "content" of the processing instruction in a lookup table.Suppose that the custom button performs createProcessingInstruction('somepi',''). How to trigger a lookup ?Unfortunately &lt;x:node match="processing-instruction('somepi')"&gt; is not allowed in config file.I could not find any workaround.Regards,Fred</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello all,<br /><br />Thank for your help. Now I have a better understanding of the way lookup is working.<br />I am able to trigger a lookup dialog when inserting an element.<br /><br />But what I was trying to achieve first was a bit different.<br />Instead of triggering a lookup dialog upon element insertion, I would like to be able to trigger it when inserting a processing instruction (by clicking on a custom buton in the menu bar), so that I could select the "content" of the processing instruction in a lookup table.<br /><br />Suppose that the custom button performs createProcessingInstruction('somepi',''). How to trigger a lookup ?<br /><br />Unfortunately &lt;x:node match="processing-instruction('somepi')"&gt; is not allowed in config file.<br /><br />I could not find any workaround.<br /><br />Regards,<br /><br />Fred</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1293</id>
    <updated>2010-04-21T12:35:23+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1293" />
    <summary>It works now!Thank you very much!</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>It works now!<br /><br />Thank you very much!</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1292</id>
    <updated>2010-04-21T12:28:41+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1292" />
    <summary>Ah, it is a whitespace issue (whitespace handling has improved a lot in Xopus 4).The solution is to add select="*" to the apply-templates in the table, so the whitespace text nodes will not be copied.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ah, it is a whitespace issue (whitespace handling has improved a lot in Xopus 4).<br /><br />The solution is to add select="*" to the apply-templates in the table, so the whitespace text nodes will not be copied.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1291</id>
    <updated>2010-04-21T12:18:27+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1291" />
    <summary>There's something in there that breaks the calculation of differences between the old xsl output and the new xsl output. The odd thing is that there's hardly anything changed in that code between Xopus 3 and 4.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>There's something in there that breaks the calculation of differences between the old xsl output and the new xsl output. The odd thing is that there's hardly anything changed in that code between Xopus 3 and 4.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1290</id>
    <updated>2010-04-21T23:28:11+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1290" />
    <summary>There must be something specific in my document (XSL, XSD, config) that is causing this. I've created a simple table document without any special logic, and there it works fine.But what could cause such strange behavior?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>There must be something specific in my document (XSL, XSD, config) that is causing this. I've created a simple table document without any special logic, and there it works fine.<br /><br />But what could cause such strange behavior?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1289</id>
    <updated>2010-04-21T23:20:13+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1289" />
    <summary>Hmm, that's odd. It works fine in Xopus 4.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hmm, that's odd. It works fine in Xopus 4.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1288</id>
    <updated>2010-04-21T10:17:13+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1288" />
    <summary>A similar problem now also occurs when trying to remove a single column, it removes/hides the entire table!And again, in the Tree view it looks fine. If I remove column (table gone), switch from WYSIWYG to Tree view and back, the table is there again.Please help.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>A similar problem now also occurs when trying to remove a single column, it removes/hides the entire table!<br /><br />And again, in the Tree view it looks fine. If I remove column (table gone), switch from WYSIWYG to Tree view and back, the table is there again.<br /><br />Please help.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Table editor</title>
    <author>
      <name>Lukasz</name>
    </author>
    <id>http://xopus.com/forum/how-to/295.html#1287</id>
    <updated>2010-04-19T10:42:01+01:00</updated>
    <link href="http://xopus.com/forum/how-to/295.html#1287" />
    <summary>I have probem with table header. When table is created all rows are created in thead element &lt;thead&gt;&lt;tr&gt;&lt;th/&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td/&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td/&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody/&gt; How I can force xmetal to create rows with td in tbody element ?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I have probem with table header. When table is created all rows are created in thead element <br />&lt;thead&gt;<br />&lt;tr&gt;&lt;th/&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td/&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td/&gt;&lt;/tr&gt;<br />&lt;/thead&gt;<br />&lt;tbody/&gt;<br /> How I can force xmetal to create rows with td in tbody element ?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1286</id>
    <updated>2010-04-16T13:08:39+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1286" />
    <summary>Ow, and I'm using Xopus 3.2.22</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ow, and I'm using Xopus 3.2.22</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cell mergin not working in WYSIWYG view</title>
    <author>
      <name>Thijs</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/308.html#1285</id>
    <updated>2010-04-16T13:06:39+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/308.html#1285" />
    <summary>Hi,I'm creating a document type (XML, XSD, XSL) for Xopus containing a table. The table structure is table/tbody|thead/row/cell/p. The cell elements have @colspan and @rowspan attributes. I've defined the element and attribute roles similar to the default-config.xml.However, I'm experiencing issues with applying rowspan and colspan to the table. When merge left, right, down or up, the entire row or column simply disappears instead of merging the cells, even when merging 1 cell to the left on a row with 4 cells.The strange part is, that this strange behavior only shows in the WYSIWYG view, if I apply rowspan or colspan via the Tree view it works fine. In the Tree view I can see a properly structure XML file; cell gets colspan attribute, p elements are combined in one cell, and the other cell is removed.Please help.Thanks.Thijs</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi,<br /><br />I'm creating a document type (XML, XSD, XSL) for Xopus containing a table. The table structure is table/tbody|thead/row/cell/p. The cell elements have @colspan and @rowspan attributes. I've defined the element and attribute roles similar to the default-config.xml.<br /><br />However, I'm experiencing issues with applying rowspan and colspan to the table. When merge left, right, down or up, the entire row or column simply disappears instead of merging the cells, even when merging 1 cell to the left on a row with 4 cells.<br /><br />The strange part is, that this strange behavior only shows in the WYSIWYG view, if I apply rowspan or colspan via the Tree view it works fine. In the Tree view I can see a properly structure XML file; cell gets colspan attribute, p elements are combined in one cell, and the other cell is removed.<br /><br />Please help.<br />Thanks.<br /><br />Thijs</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1284</id>
    <updated>2010-04-16T09:44:27+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1284" />
    <summary>A reproducer uploads all files that are loaded by Xopus, basically the XML, XSD, XSL, but also configuration files, javascript files, and css.If you are not allowed to send us the XSD, you should not use it.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>A reproducer uploads all files that are loaded by Xopus, basically the XML, XSD, XSL, but also configuration files, javascript files, and css.<br /><br />If you are not allowed to send us the XSD, you should not use it.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1283</id>
    <updated>2010-04-15T15:47:58+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1283" />
    <summary>Hi again,if i upload my current configuration what will there be included? I'm not allowed to upload the XSD file.Thanks for your help.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi again,<br /><br />if i upload my current configuration what will there be included? I'm not allowed to upload the XSD file.<br /><br />Thanks for your help.<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1282</id>
    <updated>2010-04-15T10:27:44+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1282" />
    <summary>For the reset css, see f.e. http://developer.yahoo.com/yui/3/cssreset/Maybe we can help you better if you send us your setup. The easiest way to do this is to load your document in Xopus and press Ctrl+Alt+R to run the Reproducer.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>For the reset css, see f.e. <a>http://developer.yahoo.com/yui/3/cssreset/http://developer.yahoo.com/yui/3/cssreset/</a><br /><br />Maybe we can help you better if you send us your setup. The easiest way to do this is to load your document in Xopus and press Ctrl+Alt+R to run the Reproducer.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1281</id>
    <updated>2010-04-15T08:04:21+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1281" />
    <summary>Hey Guys,@Sjoerd: How would you realize such a "reset" css. Im not quite sure what you mean? And yes i have xml tags with the same name as html tags. @Laurens: I want to use a CSS which is used for formatting documents under eclipse to format the Xopus presentation. The Problem is that the CSS reacts directly to the XML tags of my source file and not to HTML tags which are automatically created unless i do the above mentioned. I have tried the suggested actions. It worked fine with Firefox but not with IE. The IE shows only lists and pictures in basic html style. </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hey Guys,<br /><br />@Sjoerd: How would you realize such a "reset" css. Im not quite sure what you mean? And yes i have xml tags with the same name as html tags. <br /><br />@Laurens: I want to use a CSS which is used for formatting documents under eclipse to format the Xopus presentation. The Problem is that the CSS reacts directly to the XML tags of my source file and not to HTML tags which are automatically created unless i do the above mentioned. I have tried the suggested actions. It worked fine with Firefox but not with IE. The IE shows only lists and pictures in basic html style. </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ignoreunsavedchanges</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/305.html#1280</id>
    <updated>2010-04-13T09:28:56+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/305.html#1280" />
    <summary>Hi Trevor,Have you tried Xopus 4.1.2 yet? It should solve this issue.greetings,Sjoerd</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi Trevor,<br /><br />Have you tried Xopus 4.1.2 yet? It should solve this issue.<br /><br />greetings,<br />Sjoerd</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Laurens</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1278</id>
    <updated>2010-04-12T15:35:58+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1278" />
    <summary>Which elements are causing problems? I assume you want your CSS to work as-is. In what way doesn't it do what you expect?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Which elements are causing problems? I assume you want your CSS to work as-is. In what way doesn't it do what you expect?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1277</id>
    <updated>2010-04-09T14:02:41+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1277" />
    <summary>If your XML contains elements with the same name as HTML elements, I think you're out of luck, although including a "reset" css file that removes all default styling could get you a long way.But I would expect that to be a problem in Firefox too.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>If your XML contains elements with the same name as HTML elements, I think you're out of luck, although including a "reset" css file that removes all default styling could get you a long way.<br /><br />But I would expect that to be a problem in Firefox too.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1276</id>
    <updated>2010-04-09T10:33:32+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1276" />
    <summary>Hey Sjoerd,thanks for your answer. I tried it for Firefox and it works. But for IE it doesn't work. I called a document.createElement("tagName") for every used XML Element and i am doing a identity transform via: 	&lt;xsl:template match="@*|node()"&gt;		&lt;xsl:copy&gt;			&lt;xsl:apply-templates select="@*|node()" /&gt;		&lt;/xsl:copy&gt;	&lt;/xsl:template&gt;but IE 8 still shows me the basic html interpretation of my xml file, which means Xopus is still transforming the XML file. Any suggestions? Ideas?Thanks,Robert</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hey Sjoerd,<br /><br />thanks for your answer. I tried it for Firefox and it works. But for IE it doesn't work. I called a document.createElement("tagName") for every used XML Element and i am doing a identity transform via: <br />	&lt;xsl:template<a>mailto: match="@*|node()"&gt; match="@*|node()"&gt;</a><br />		&lt;xsl:copy&gt;<br />			&lt;xsl:apply-templates<a>mailto: select="@*|node()" select="@*|node()"</a> /&gt;<br />		&lt;/xsl:copy&gt;<br />	&lt;/xsl:template&gt;<br />but IE 8 still shows me the basic html interpretation of my xml file, which means Xopus is still transforming the XML file. Any suggestions? Ideas?<br /><br />Thanks,<br />Robert</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>lookup dialog</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/how-to/307.html#1275</id>
    <updated>2010-04-08T16:16:26+01:00</updated>
    <link href="http://xopus.com/forum/how-to/307.html#1275" />
    <summary>You can connect lookups to element, by using the new nodeConfig.Next you can communicate with the Xopus DOM in the lookup dialog through top.dialogArguments.node. This represents the node that the lookup was opened for, and is an XopusElement. From there you can use node.getOwnerDocument().createProcessingInstruction("text");  to create the processing instructions.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>You can connect lookups to element, by using the new nodeConfig.<br /><br />Next you can communicate with the Xopus DOM in the lookup dialog through top.dialogArguments.node. This represents the node that the lookup was opened for, and is an XopusElement. From there you can use <br /><br />node.getOwnerDocument().createProcessingInstruction("text");  <br /><br />to create the processing instructions.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>lookup dialog</title>
    <author>
      <name>fredj</name>
    </author>
    <id>http://xopus.com/forum/how-to/307.html#1274</id>
    <updated>2010-04-08T14:27:53+01:00</updated>
    <link href="http://xopus.com/forum/how-to/307.html#1274" />
    <summary>Hello all,I would like to build a kind of lookup dialog in order to be able to insert some processing instructions.From what I understand lookup dialogs are aimed at inserting attribute nodes.Would it be possible to insert processing instructions instead? What route should I follow to perform this task?Thanks for your help.Best regards,Fred</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello all,<br /><br />I would like to build a kind of lookup dialog in order to be able to insert some processing instructions.<br /><br />From what I understand lookup dialogs are aimed at inserting attribute nodes.<br /><br />Would it be possible to insert processing instructions instead? What route should I follow to perform this task?<br /><br />Thanks for your help.<br /><br />Best regards,<br /><br />Fred</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1270</id>
    <updated>2010-03-26T18:18:28+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1270" />
    <summary>That's right. Xopus expects you to provide an XSL to transform your XML into HTML. However, this can simply be an "identity" transformation, which just copies the XML as is.To do this, insert an identityTransform element in the view element[1], instead of a transform element. And if you include your CSS in the HTML page that contains the XML island, then it will be applied to the XML.To get this to work properly in Internet Explorer you have to do document.createElement(xmlName) once for each type of element that the XML contains.[2][1] http://xopus.com/documentation/configuration/elements/view.html[2] http://xopus.com/devblog/2008/style-unknown-elements.html</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>That's right. Xopus expects you to provide an XSL to transform your XML into HTML. However, this can simply be an "identity" transformation, which just copies the XML as is.<br /><br />To do this, insert an identityTransform element in the view element[1], instead of a transform element. And if you include your CSS in the HTML page that contains the XML island, then it will be applied to the XML.<br /><br />To get this to work properly in Internet Explorer you have to do document.createElement(xmlName) once for each type of element that the XML contains.[2]<br /><br />[1] <a>http://xopus.com/documentation/configuration/elements/view.htmlhttp://xopus.com/documentation/configuration/elements/view.html</a><br />[2] <a>http://xopus.com/devblog/2008/style-unknown-elements.htmlhttp://xopus.com/devblog/2008/style-unknown-elements.html</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Disable HTML transformation?</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/how-to/306.html#1269</id>
    <updated>2010-03-26T14:55:01+01:00</updated>
    <link href="http://xopus.com/forum/how-to/306.html#1269" />
    <summary>Hey guys,based on this answer: "When copying from html pages or Worddocument the pasted information is first formatted to HTML, and thenXopus checks if he can translate the HTML tags to corresponding tags inthe XML." (http://xopus.com/forum/how-to/56.html) i assume, that Xopus formats a during startup given XML file also in HTML?If i am right, is it possible to disable that feature. I'm asking becausei have a CSS Stylesheet that reacts on the XML Tags and not HTML.If i am not right, do know any other work around?Thanks,Robert</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hey guys,<br /><br />based on this answer: "When copying from html pages or Word<br />document the pasted information is first formatted to HTML, and then<br />Xopus checks if he can translate the HTML tags to corresponding tags in<br />the XML." (<a>http://xopus.com/forum/how-to/56.htmlhttp://xopus.com/forum/how-to/56.html</a>) i assume, that Xopus <br />formats a during startup given XML file also in HTML?<br /><br />If i am right, is it possible to disable that feature. I'm asking because<br />i have a CSS Stylesheet that reacts on the XML Tags and not HTML.<br />If i am not right, do know any other work around?<br /><br />Thanks,<br />Robert</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Changing input field values programmatically</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/300.html#1268</id>
    <updated>2010-03-24T16:10:48+01:00</updated>
    <link href="http://xopus.com/forum/how-to/300.html#1268" />
    <summary>Dude... Nice solution!</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Dude... Nice solution!</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ignoreunsavedchanges</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/305.html#1267</id>
    <updated>2010-03-24T16:10:08+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/305.html#1267" />
    <summary>Hi Trevor,Coincidentally another customer noticed this too 2 weeks ago. These issues will be fixed in Xopus 4.1.2, which we plan to release in early April.greetings,Sjoerd Visscher</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi Trevor,<br /><br />Coincidentally another customer noticed this too 2 weeks ago. These issues will be fixed in Xopus 4.1.2, which we plan to release in early April.<br /><br />greetings,<br />Sjoerd Visscher</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ignoreunsavedchanges</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/305.html#1266</id>
    <updated>2010-03-24T13:51:57+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/305.html#1266" />
    <summary>Advanced to 4.1.1, no difference (none expected as there was nothing in the list of changes to suggest otherwise). I have confirmed that the value of &lt;x:ignoreUnsavedChanges&gt; is apparently ignored by Xopus; I get identical dialogs in every scenario I test.Given that I can't stop the Xopus dialog appearing, I have taken the test for hasUnsavedChanges out and left it to Xopus to tell the user his document has changed. But this is no better; sure, the user only sees one dialog when backing out of his edits, but if he cancels it, then the loadDocument(null) is not completed and the (changed) document remains in the edit frame, so that when the user goes back into the editor, either with the same document or a different one, they get presented with the same standard "document has unsaved changes" dialog again.So:a) If I want my own application to manage changes, how do I stop Xopus managing them?b) If I can't stop Xopus managing changes but have to use its built in dialog, how do I get the user's response to the dialog back to my application? I can see nothing relevant to this in the documentation, I'm sorry.CheersT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Advanced to 4.1.1, no difference (none expected as there was nothing in the list of changes to suggest otherwise). I have confirmed that the value of &lt;x:ignoreUnsavedChanges&gt; is apparently ignored by Xopus; I get identical dialogs in every scenario I test.<br /><br />Given that I can't stop the Xopus dialog appearing, I have taken the test for hasUnsavedChanges out and left it to Xopus to tell the user his document has changed. But this is no better; sure, the user only sees one dialog when backing out of his edits, but if he cancels it, then the loadDocument(null) is not completed and the (changed) document remains in the edit frame, so that when the user goes back into the editor, either with the same document or a different one, they get presented with the same standard "document has unsaved changes" dialog again.<br /><br />So:<br />a) If I want my own application to manage changes, how do I stop Xopus managing them?<br />b) If I can't stop Xopus managing changes but have to use its built in dialog, how do I get the user's response to the dialog back to my application? I can see nothing relevant to this in the documentation, I'm sorry.<br /><br />Cheers<br />T</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ignoreunsavedchanges</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/305.html#1265</id>
    <updated>2010-03-23T16:50:28+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/305.html#1265" />
    <summary>HiMy xopus-config has ignoreUnsavedChanges set to "true" and my wrapper html screen is calling document.hasUnsavedChanges() to determine what to do if the user tries to close the browser or navigate elsewhere. The problem is that my generated dialog (displayed when hasUnsavedChanges is "true") which allows the user to continue or cancel, is immediately followed by Xopus's own "document has unsaved changes" dialog.(If the user wants to continue, discarding their changes, I invoke Editor.loadDocument(null) to unload the unsaved document).I am assuming that I should not be seeing the Xopus dialog if the config has ignoreUnsavedChanges set.I am using Xopus 4.1. Is there something I have misunderstood here?CheersTrevor</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi<br /><br />My xopus-config has ignoreUnsavedChanges set to "true" and my wrapper html screen is calling document.hasUnsavedChanges() to determine what to do if the user tries to close the browser or navigate elsewhere. The problem is that my generated dialog (displayed when hasUnsavedChanges is "true") which allows the user to continue or cancel, is immediately followed by Xopus's own "document has unsaved changes" dialog.<br /><br />(If the user wants to continue, discarding their changes, I invoke Editor.loadDocument(null) to unload the unsaved document).<br /><br />I am assuming that I should not be seeing the Xopus dialog if the config has ignoreUnsavedChanges set.<br /><br />I am using Xopus 4.1. Is there something I have misunderstood here?<br /><br />Cheers<br />Trevor<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>customizing Xopus from Java</title>
    <author>
      <name>Laurens</name>
    </author>
    <id>http://xopus.com/forum/how-to/304.html#1264</id>
    <updated>2010-03-23T13:33:26+01:00</updated>
    <link href="http://xopus.com/forum/how-to/304.html#1264" />
    <summary>The best solution to integrate Xopus with GWT would be to create an Xopus GWT component. We have not done a GWT integration before, but we may be able to work with you to create such component. Send us an email if you're interested  (info at xopus dot com).</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>The best solution to integrate Xopus with GWT would be to create an Xopus GWT component. We have not done a GWT integration before, but we may be able to work with you to create such component. Send us an email if you're interested  (info at xopus dot com).</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Contact</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/site-discussion/21.html#1263</id>
    <updated>2010-03-23T12:29:46+01:00</updated>
    <link href="http://xopus.com/forum/site-discussion/21.html#1263" />
    <summary>Prices can all be found in the shop (http://xopus.com/shop)</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Prices can all be found in the shop (<a>http://xopus.com/shophttp://xopus.com/shop</a>)</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Using Xopus with Apache Forrest?</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/303.html#1262</id>
    <updated>2010-03-23T12:28:32+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/303.html#1262" />
    <summary>We aren't completely familiar with Apache Forrest, but perhaps the first thing to do is to use Firebug or Fiddler to check and see what goes over the line. If the encoding of files is not correct, the browser, and also Xopus itself, will not be able to parse, use and display them correctly.

Let us know what you find.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>We aren't completely familiar with Apache Forrest, but perhaps the first thing to do is to use Firebug or Fiddler to check and see what goes over the line. If the encoding of files is not correct, the browser, and also Xopus itself, will not be able to parse, use and display them correctly.
<br />
<br />Let us know what you find.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Reference to undeclared namespace prefix error</title>
    <author>
      <name>Carl</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/302.html#1261</id>
    <updated>2010-03-23T12:09:56+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/302.html#1261" />
    <summary>It seems that 4.1.1 has an issue with certain setups and an older MSXML version.

You can check your MSXML on http://xopus.com/files/msxmltester/ with IE. Updating to MSXML 6 can solve the problem.

In order to solve this issue, I would like to ask you, and others who are experiencing this issue to report the following here:

- OS version
- Browser name and version
- MSXML version (according to above tester). </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>It seems that 4.1.1 has an issue with certain setups and an older MSXML version.
<br />
<br />You can check your MSXML on <a>http://xopus.com/files/msxmltester/http://xopus.com/files/msxmltester/</a> with IE. Updating to MSXML 6 can solve the problem.
<br />
<br />In order to solve this issue, I would like to ask you, and others who are experiencing this issue to report the following here:
<br />
<br />- OS version
<br />- Browser name and version
<br />- MSXML version (according to above tester). </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>customizing Xopus from Java</title>
    <author>
      <name>Docufy_Jonas</name>
    </author>
    <id>http://xopus.com/forum/how-to/304.html#1260</id>
    <updated>2010-03-22T14:07:41+01:00</updated>
    <link href="http://xopus.com/forum/how-to/304.html#1260" />
    <summary>Hello,we will run Xopus on a large scale integrated in an CMS-like system. There will be a lot of customizing (e.g. adding event handlers in the DOM etc.).Our framework, where Xopus will be integrated is based on Java (GWT in this case). The question would be:do you have any ideas how to acess the DOM etc. without scripting JavaScript but using Java. There is of course the option of inline javascript in GWT but this doesn´t solve the problem that we will have to script in javascript again.What we basically need is a acess from Java to all Javascript objects and properties.Had some of you maybe already faced the same problem? Ideas are welcome!Thanks a lot!Best Regards,Jonas </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello,<br /><br />we will run Xopus on a large scale integrated in an CMS-like system. <br />There will be a lot of customizing (e.g. adding event handlers in the DOM etc.).<br /><br />Our framework, where Xopus will be integrated is based on Java (GWT in this case). The question would be:<br />do you have any ideas how to acess the DOM etc. without scripting JavaScript but using Java. There is of course the option of inline javascript in GWT but this doesn´t solve the problem that we will have to script in javascript again.<br />What we basically need is a acess from Java to all Javascript objects and properties.<br /><br />Had some of you maybe already faced the same problem? Ideas are welcome!<br /><br />Thanks a lot!<br /><br />Best Regards,<br /><br />Jonas </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Using Xopus with Apache Forrest?</title>
    <author>
      <name>Ulrich</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/303.html#1259</id>
    <updated>2010-03-19T10:26:38+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/303.html#1259" />
    <summary>I would like to test Xopus with Apache Forrest. I have found the location where the xopus folder can be stored and accessed by localhost:8888/xopus/xopus/xopus.htmlBut only the content is shown within the Forrest project site:VersionXopus 4.1.1ReleasedMarch 3, 2010Release NotesCopyright©2010 Xopus BVLegal NoticesVisit xopus.comBut nothing happens. No editor is starting.Where can I find help and/or documentation?Thanks! Ulrich</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I would like to test Xopus with Apache Forrest. <br />I have found the location where the xopus folder can be stored and accessed by localhost:8888/xopus/xopus/xopus.html<br />But only the content is shown within the Forrest project site:<br />Version<br />Xopus 4.1.1<br />Released<br />March 3, 2010<br />Release Notes<br />Copyright<br />©2010 Xopus BV<br />Legal Notices<br />Visit xopus.com<br /><br />But nothing happens. No editor is starting.<br /><br />Where can I find help and/or documentation?<br />Thanks! Ulrich</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Reference to undeclared namespace prefix error</title>
    <author>
      <name>GeorgeP</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/302.html#1258</id>
    <updated>2010-03-18T12:43:02+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/302.html#1258" />
    <summary>I get the following error after the splash screen in the simple demo. I'm using the trial version to run on local host only. It works when installed on a non-server machine. All demos have the same error.#/schema[1]/element[position() = 1 and @name = 'article']/complexType[1]/attribute[1]Reference to undeclared namespace prefix: '__xopus_schema'. </summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I get the following error after the splash screen in the simple demo. I'm using the trial version to run on local host only. It works when installed on a non-server machine. All demos have the same error.<br /><br />#/schema[1]/element[position() = 1 and @name = 'article']/complexType[1]/attribute[1]<br />Reference to undeclared namespace prefix: '__xopus_schema'. <br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Changing input field values programmatically</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/how-to/300.html#1257</id>
    <updated>2010-03-18T08:53:36+01:00</updated>
    <link href="http://xopus.com/forum/how-to/300.html#1257" />
    <summary>We solved this by tricking Xopus into believing someone pressed a key on the keyboard(only tested in FF):var evt = document.createEvent('KeyEvents');evt.initEvent('keyup', true, true);inputFieldElement.dispatchEvent(evt);</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>We solved this by tricking Xopus into believing someone pressed a key on the keyboard(only tested in FF):<br /><br />var evt = document.createEvent('KeyEvents');<br />evt.initEvent('keyup', true, true);<br />inputFieldElement.dispatchEvent(evt);</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Programmatic configuration</title>
    <author>
      <name>Robbert</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/298.html#1256</id>
    <updated>2010-03-16T09:37:50+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/298.html#1256" />
    <summary>Adding a Xopus canvas from script is one of the features we're working on right now. This will probably be released in Xopus 4.1.3. All feedback on wishes, ideas and example usage is highly appreciated!</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Adding a Xopus canvas from script is one of the features we're working on right now. This will probably be released in Xopus 4.1.3. All feedback on wishes, ideas and example usage is highly appreciated!</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Changing input field values programmatically</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/300.html#1255</id>
    <updated>2010-03-15T21:43:49+01:00</updated>
    <link href="http://xopus.com/forum/how-to/300.html#1255" />
    <summary>I don't see a way to get this to work. But it might not be too hard for us to add this as a feature to Xopus.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I don't see a way to get this to work. But it might not be too hard for us to add this as a feature to Xopus.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>demo savetojsp save giving error</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/301.html#1252</id>
    <updated>2010-03-12T21:38:13+01:00</updated>
    <link href="http://xopus.com/forum/how-to/301.html#1252" />
    <summary>Can you run JSP on your IIS?If so, perhaps you just need to enable the POST method for JSP files.This looks like it might explain how to do that:http://blogs.msdn.com/joseph_fultz/archive/2009/07/23/enabling-the-put-verb-with-handlers-and-iis-7-0.aspx</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Can you run JSP on your IIS?<br /><br />If so, perhaps you just need to enable the POST method for JSP files.<br /><br />This looks like it might explain how to do that:<br /><a>http://blogs.msdn.com/joseph_fultz/archive/2009/07/23/enabling-the-put-verb-with-handlers-and-iis-7-0.aspxhttp://blogs.msdn.com/joseph_fultz/archive/2009/07/23/enabling-the-put-verb-with-handlers-and-iis-7-0.aspx</a></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>demo savetojsp save giving error</title>
    <author>
      <name>GeorgeP</name>
    </author>
    <id>http://xopus.com/forum/how-to/301.html#1251</id>
    <updated>2010-03-12T17:24:00+01:00</updated>
    <link href="http://xopus.com/forum/how-to/301.html#1251" />
    <summary>when I run the asp.net demo and hit save it works:var result = HTTPTools.postXML("save.aspx", xmlDocument);However, the following:var result = HTTPTools.postXML("save.jsp", xmlDocument, "UTF-8");from the jsp example however gives this error: &lt;title&gt;IIS 7.5 Detailed Error - 405.0 - Method Not Allowed&lt;/title&gt; Any ideas?</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>when I run the asp.net demo and hit save it works:<br />var result = HTTPTools.postXML("save.aspx", xmlDocument);<br /><br />However, the following:<br />var result = HTTPTools.postXML("save.jsp", xmlDocument, "UTF-8");<br />from the jsp example however gives this error: &lt;title&gt;IIS 7.5 Detailed Error - 405.0 - Method Not Allowed&lt;/title&gt; <br /><br />Any ideas?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Changing input field values programmatically</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/how-to/300.html#1250</id>
    <updated>2010-03-11T15:14:56+01:00</updated>
    <link href="http://xopus.com/forum/how-to/300.html#1250" />
    <summary>We are using the jQuery mousewheel plugin(http://plugins.jquery.com/project/mousewheel) to alter the values in the properties sidebar input fields when the user hovers over an input and scrolls the mousewheel. This works well and nice, but Xopus does not seem to notice that the input's value has changed. It seems to trigger only on keyup or keypressed. Is there a way to force Xopus to re-evalute these input fields?BR // Fredrik</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>We are using the jQuery mousewheel plugin(<a>http://plugins.jquery.com/project/mousewheelhttp://plugins.jquery.com/project/mousewheel</a>) to alter the values in the properties sidebar input fields when the user hovers over an input and scrolls the mousewheel. This works well and nice, but Xopus does not seem to notice that the input's value has changed. It seems to trigger only on keyup or keypressed. Is there a way to force Xopus to re-evalute these input fields?<br /><br />BR // Fredrik</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Xopus and jQuery draggables</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/how-to/283.html#1249</id>
    <updated>2010-03-11T15:10:41+01:00</updated>
    <link href="http://xopus.com/forum/how-to/283.html#1249" />
    <summary>We now have a working solution where we place the xopus island in an iframe and display an absolutely positioned div on top of the iframe when the user clicks an element. This is also the only DOM element that we need to make draggable. With jQuery we can find out the element's absolute position(by adding the height of the toolbar) which we use to position our own div. When the user is finished we update the xmlnode's attributes(top/left) directly.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>We now have a working solution where we place the xopus island in an iframe and display an absolutely positioned div on top of the iframe when the user clicks an element. This is also the only DOM element that we need to make draggable. With jQuery we can find out the element's absolute position(by adding the height of the toolbar) which we use to position our own div. When the user is finished we update the xmlnode's attributes(top/left) directly.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Xopus and jQuery draggables</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/how-to/283.html#1248</id>
    <updated>2010-03-11T12:07:28+01:00</updated>
    <link href="http://xopus.com/forum/how-to/283.html#1248" />
    <summary>Thanks for the quick reply. I will post back the successful solution if we have it.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Thanks for the quick reply. I will post back the successful solution if we have it.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Xopus and jQuery draggables</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/283.html#1247</id>
    <updated>2010-03-11T23:08:09+01:00</updated>
    <link href="http://xopus.com/forum/how-to/283.html#1247" />
    <summary>Yes, within the xml island Xopus has to interfere with the events to make the cursor work. gewfy was working with Xopus 3, where we did not have our own cursor implementation, and needed to interfere less with the events.The only solution I can think of is to find a way to have the draggable items outside of the xml island. This means that you have to clone the parts of the xsl output that have to be draggable, and insert them in the html document outside of the xml island. Note that you should *clone* the content and not *move* it, otherwise Xopus can't find the content when it has to render updates. You can hide the originals of the clones with css.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Yes, within the xml island Xopus has to interfere with the events to make the cursor work. gewfy was working with Xopus 3, where we did not have our own cursor implementation, and needed to interfere less with the events.<br /><br />The only solution I can think of is to find a way to have the draggable items outside of the xml island. This means that you have to clone the parts of the xsl output that have to be draggable, and insert them in the html document outside of the xml island. Note that you should *clone* the content and not *move* it, otherwise Xopus can't find the content when it has to render updates. You can hide the originals of the clones with css.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Using a DTD instead of a XML Schema inside Xopus?</title>
    <author>
      <name>Laurens</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/299.html#1246</id>
    <updated>2010-03-11T10:52:48+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/299.html#1246" />
    <summary>Xopus does not support DTDs. But you can use a tool like Trang to convert the DTD into XSD and use that.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Xopus does not support DTDs. But you can use a tool like Trang to convert the DTD into XSD and use that.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Xopus and jQuery draggables</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/how-to/283.html#1245</id>
    <updated>2010-03-11T10:18:10+01:00</updated>
    <link href="http://xopus.com/forum/how-to/283.html#1245" />
    <summary>Has anyone managed to make this work? I have followed the example above and can via Firebug confirm that the inserted HTML element gets the jQuery class "ui-draggable" and should thus be draggable. But when I try to drag it, nothing happens. After trying to make this work for some time I opted to implement my own dragging implementation, but that does not work either. It seems that the mousemove event is not fired when a mousebutton is held down. Does Xopus interfere with these events in any way?BR // Fredrik</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Has anyone managed to make this work? I have followed the example above and can via Firebug confirm that the inserted HTML element gets the jQuery class "ui-draggable" and should thus be draggable. But when I try to drag it, nothing happens. <br /><br />After trying to make this work for some time I opted to implement my own dragging implementation, but that does not work either. It seems that the mousemove event is not fired when a mousebutton is held down. Does Xopus interfere with these events in any way?<br /><br />BR // Fredrik</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Using a DTD instead of a XML Schema inside Xopus?</title>
    <author>
      <name>Robert@docufy</name>
    </author>
    <id>http://xopus.com/forum/general-discussion/299.html#1243</id>
    <updated>2010-03-10T07:43:23+01:00</updated>
    <link href="http://xopus.com/forum/general-discussion/299.html#1243" />
    <summary>Hi,is it possible to use a dtd in the same way a xml schema file is used to automatically fill the + and - buttons of xopus?Thx.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hi,<br /><br />is it possible to use a dtd in the same way a xml schema file is used to automatically fill the + and - buttons of xopus?<br /><br />Thx.<br /><br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Contact</title>
    <author>
      <name>j</name>
    </author>
    <id>http://xopus.com/forum/site-discussion/21.html#1242</id>
    <updated>2010-03-08T12:04:42+01:00</updated>
    <link href="http://xopus.com/forum/site-discussion/21.html#1242" />
    <summary>prices hidden or at least very hard to find. What a turnoff</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>prices hidden or at least very hard to find. What a turnoff</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Programmatic configuration</title>
    <author>
      <name>fredrik.westmark</name>
    </author>
    <id>http://xopus.com/forum/setup-and-installation/298.html#1241</id>
    <updated>2010-03-04T09:30:44+01:00</updated>
    <link href="http://xopus.com/forum/setup-and-installation/298.html#1241" />
    <summary>Hello!In our project, we cannot configure Xopus via the &lt;xml&gt;-tag. The reason for this is out of our hands. Is there any way to configure Xopus programmatically?It is possible that we can create all the html(anx the xml-tag)with Javascript, but we need some way trigger Xopus to look for this.BR // Fredrik</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Hello!<br /><br />In our project, we cannot configure Xopus via the &lt;xml&gt;-tag. The reason for this is out of our hands. Is there any way to configure Xopus programmatically?<br />It is possible that we can create all the html(anx the xml-tag)with Javascript, but we need some way trigger Xopus to look for this.<br /><br />BR // Fredrik</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Table editor</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/295.html#1240</id>
    <updated>2010-02-18T16:44:37+01:00</updated>
    <link href="http://xopus.com/forum/how-to/295.html#1240" />
    <summary>Ok. I would remove the tableheadercell role from the td. This removes the header options from the tableinserter.Once we have the idea above implemented, the header row and footer row options should reappear (and not the column options).</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Ok. I would remove the tableheadercell role from the td. This removes the header options from the tableinserter.<br /><br />Once we have the idea above implemented, the header row and footer row options should reappear (and not the column options).</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Table editor</title>
    <author>
      <name>Trevor</name>
    </author>
    <id>http://xopus.com/forum/how-to/295.html#1239</id>
    <updated>2010-02-18T13:23:56+01:00</updated>
    <link href="http://xopus.com/forum/how-to/295.html#1239" />
    <summary>Sounds good :-)I have the following nodes defined in my xopus-config.xml (this is just the bit relevant to tables):&lt;x:node match="table"&gt;&lt;x:role&gt;table&lt;/x:role&gt;&lt;/x:node&gt;-- remainder abbreviated --match=tt role=tablecaptionmatch=th role=tableheader, tablerowcontainermatch=tb role=tablebody, tablerowcontainermatch=tf role=tablefooter, tablerowcontainermatch=tr role=tablerow. tablecellcontainermatch=td role=tablecell, tableheadercellmatch=@rowspan role=cellrowspanmatch=@colspan role=cellcolspanCheersT</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Sounds good :-)<br /><br />I have the following nodes defined in my xopus-config.xml (this is just the bit relevant to tables):<br /><br />&lt;x:node match="table"&gt;&lt;x:role&gt;table&lt;/x:role&gt;&lt;/x:node&gt;<br />-- remainder abbreviated --<br />match=tt role=tablecaption<br />match=th role=tableheader, tablerowcontainer<br />match=tb role=tablebody, tablerowcontainer<br />match=tf role=tablefooter, tablerowcontainer<br />match=tr role=tablerow. tablecellcontainer<br />match=td role=tablecell, tableheadercell<a>mailto:match=@rowspan<br />match=@rowspan</a> role=cellrowspan<a>mailto:match=@colspan<br />match=@colspan</a> role=cellcolspan<br /><br />Cheers<br />T<br /></p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Table editor</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/295.html#1238</id>
    <updated>2010-02-18T10:42:21+01:00</updated>
    <link href="http://xopus.com/forum/how-to/295.html#1238" />
    <summary>It certainly is.By the way, did you assign the tableheadercell role, and if so, to which element? (As it doesn't seem to have an effect in your case, which sounds like a bug.)</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>It certainly is.<br /><br />By the way, did you assign the tableheadercell role, and if so, to which element? (As it doesn't seem to have an effect in your case, which sounds like a bug.)</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Lookup Dialog</title>
    <author>
      <name>Sjoerd</name>
    </author>
    <id>http://xopus.com/forum/how-to/297.html#1237</id>
    <updated>2010-02-18T10:20:44+01:00</updated>
    <link href="http://xopus.com/forum/how-to/297.html#1237" />
    <summary>So, is this pure a styling thing? The Xopus lookup modal dialog is already quite sheet like.If so, you might be able to get quite far by adding a link to your own css file in xopus/xopus.html.</summary>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>So, is this pure a styling thing? The Xopus lookup modal dialog is already quite sheet like.<br /><br />If so, you might be able to get quite far by adding a link to your own css file in xopus/xopus.html.</p>
      </div>
    </content>
  </entry>
</feed>