Pages: « 1 2 3 4 5 6 7 8 9 10
 on: March 15, 2019, 11:42:45 AM 
Started by Roopesh79 - Last post by queshaw
This feature was completely rewritten for version 13 (after a lot of negative feedback on how poorly it functioned for most people in version 11 when it was first introduced). So, if you need it, I would highly recommend running XMetaL Author Enterprise or XMetaL Author Essential 13.

The help in version 13 has been updated as well. It provides more detail, including specific information about the versions of the various components that drive the feature and the various options available.

So, schematron validation doesn't work with version 11?

 on: March 15, 2019, 11:27:22 AM 
Started by queshaw - Last post by queshaw

Are there any example solutions for XMetaL Developer (that would apply to 12.0)?


 on: March 15, 2019, 03:51:16 AM 
Started by olehtine - Last post by olehtine
We have all the files at UNC path: DTD, CSS, CTM, MCR, XSL and also the XML files we are editing.
Below is the longest path to a DTD we have. I don't think it's nowhere near the limit.

\\\Yhteiset tiedostot\Kotus\fo\struktur\fo.dtd
C:\Users\12345678\AppData\Roaming\SoftQuad\XMetaL\13.0\gen\\Yhteiset tiedostot\Kotus\fo\struktur\fo.dtd

I forgot to mention that opening XML files directly from Windows Explorer (Open with XMetaL...) works without delay and I have advised our users to do so. But that does not help with the occasional hangs that happen when editing (and using macros).

 on: March 14, 2019, 07:56:08 PM 
Started by olehtine - Last post by Derek Read
If the path to the DTD or XSD Schema is of significant length then the path that XMetaL Author generates to save files in the user's per-user folder may end up being too long for Windows:
%appdata%\SoftQuad\XMetaL\<version#>\gen\<path to original dtd or xsd>\<files here>

The fact that the issue goes away for you when you map the UNC path to a drive letter (reducing the length) suggests it might be the same issue. XMetaL Author Enterprise version 14 might include a fix that will help. XMetaL Author Essential 14 will not be released for a while.

It's hard to know for sure what your issue is without getting more detail about what is stored at the UNC path, so which files XMetaL Author is opening from there, etc. So if you can provide that information we can probably give more detail.

 on: March 14, 2019, 03:10:34 PM 
Started by Boyd White - Last post by Derek Read
Because users interact with tables in a unique way when compared to standard elements in a document (what the user is seeing doesn't line up 1:1 with the XML so things get complicated) you need to use special (new and as yet undocumented) APIs to get a user's selection when it might consist of selected cells in a table.

Here's something that does what I think your example code is trying to do.
You can paste these into a document to see them run:

Code: (VBScript)
'XMetaL Script Language VBScript:
If Selection.IsMultiCellSelection Then
    Set c = Selection.Cells
For j = 0 to c.length
Application.Alert("content: " & Selection.Text)
End If

Code: (JScript)
//XMetaL Script Language JScript:
if(Selection.IsMultiCellSelection) {
    var c = Selection.Cells;
for(j=0; j<c.length; j++) {
Application.Alert("content: " + Selection.Text);

 on: March 14, 2019, 01:31:23 AM 
Started by olehtine - Last post by olehtine
I have a problem opening files using UNC path. Open dialog seems to hang for a while (~10-20 sec) before I can choose filename or navigate into another folder. There is no problem if I map the path to a drive letter. We also have several references to the UNC path in macros and other customization files and sometimes (not every time) XMetaL hangs when trying to use a macro. For some users it could take several minutes, so they have to shut down the application (from Task Manager) to get on with their work.

Is there any known problem using UNC paths sith XMetaL? Is mapping to the direve letter the only way to solve the problem?

We are using Windows 10 and XMetaL Essential 11.0.
I am also currently testing with XMetaL Essential 13.0, but the problem seems to persist.



 on: March 13, 2019, 07:11:23 AM 
Started by Boyd White - Last post by Boyd White
This will show me every entry's content in a column:

Set ttable = ActiveDocument.documentElement   
Set tgrouplist = ttable.getelementsbytagname("tgroup")
Set tbodylist=tgrouplist.item(0).getelementsbytagname("tbody")
Set tentrylist=tbodylist.item(0).getelementsbytagname("entry")

For j = 0 To tentrylist.length-1
   msgbox("contents = " + contents)

But I don't need every entry's value...I need only those entry tags that have been selected in the column. I have to add a &tab; at the front of their content.

Anybody have some clues. This has turned out to be harder that I would have expected. In R&Ding I have not even been able to get the Range Start and Range End to maybe exclude those outside during the loop of "j" above.

Thanks in advance.

 on: March 11, 2019, 03:47:13 PM 
Started by Boyd White - Last post by Boyd White
I have been R&D'ing how to select multiple entry tags in a column then add a &tab; at the front of the content of each of those entry tags.

This has proved more difficult that I would have thought. How do you, in a macro, loop through the multiple Entry Tags selected and add text?

Thanks in advance!

 on: March 09, 2019, 08:02:42 AM 
Started by lxsibi - Last post by TimothyAveri
I fixed the issue, I didnt had the proper devices selected. Can an admin close this topic?

 on: March 05, 2019, 01:31:46 PM 
Started by dmurphy - Last post by Derek Read
Aha, oops, yes this is an XMetaL Author feature. It is new to 12 I believe.

Pressing Ctrl+Tab activates this window and allows you to navigate between all the various windows in XMetaL Author as well as switch documents.

If you aren't holding the Ctrl key down on purpose perhaps it is being activated by a sticky keyboard or something.

Pages: « 1 2 3 4 5 6 7 8 9 10
email us