-
You would have to create a new Jaxe element (see "developer's guide") and use it as a plugin. It could just be displayed as a JLabel with the path, and the file dialog would pop up when you click on it or when you create the element. It is not hard to do if you know Java programming. The only Jaxe elements I have done so far with a file dialog are for images, but I can see it could be useful for...
2010-01-07 09:44:14 UTC by damieng
-
No, I'm afraid it's not possible. That would be a nice new feature for configuration files, though...
2010-01-07 09:35:39 UTC by damieng
-
One more question and I think I can leave you alone for a while. ;)
I have several elements and attributes in my XML that need to be set to file or folder names. Is there any way in Jaxe to bring up a file or folder selection dialog box when the user inserts the appropriate attribute or element? I know that I can create an enumerated list, but I won't know until run time what is available to...
2010-01-06 16:24:19 UTC by pixelpshr
-
I would like to force validation of the XML against the schema at run time. When i create my XML by hand I put this at the top...
Is there a way to have Jaxe do that, too?.
2010-01-06 15:15:51 UTC by pixelpshr
-
Once again, thanks for your help!
> I think you misunderstand: if you have maxOccurs="unbounded" for the choice, you can add as many elements as you want.
I guess you are correct. There is a lot here that I don't understand. I thought the maxOccurs="1" on the element would enforce the single occurrence limit.
> I usually choose to use xs:sequence when I have this problem.
That is the...
2010-01-06 14:43:07 UTC by pixelpshr
-
> Jaxe does not find the XML to be invalid when multiple elements, nor does it prevent me from adding multiple elements, within an xs:choice occur in the XML, but I think it should when the schema is defined with each element having maxOccurs="1". Is this a mistake in my understanding of XML validation or Jaxe's?
I think you misunderstand: if you have maxOccurs="unbounded" for the choice, you...
2010-01-06 10:45:50 UTC by damieng
-
You can edit XMLSchema_config.xml and replace the reference to SimplerSchema.xsd by a reference to the real schema.
You can get the real schema for schemas [here][1] (for structures) and [here][2] (for datatypes). It requires copy-paste and maybe some editing; I don't know if there is a standard version that could be downloaded somewhere.
[1]...
2010-01-06 10:35:18 UTC by damieng
-
Jaxe does not find the XML to be invalid when multiple elements, nor does it prevent me from adding multiple elements, within an xs:choice occur in the XML, but I think it should when the schema is defined with each element having maxOccurs="1". Is this a mistake in my understanding of XML validation or Jaxe's?
I have an element in my XML schema that provides a list of options that I want to...
2010-01-05 21:02:56 UTC by pixelpshr
-
Ah, that thread didn't come up when I searched the forums. Although it is unlikely that I will use it, how do I reference the "real" superschema?.
2010-01-05 20:12:12 UTC by pixelpshr
-
> I found that I can add an Insertion Menu element for comments to the menus, but that does not make the comment option appear in the Insert panel. Is there a way to add the Comment item to the Insert panel?
Sorry, there is currently no way to do that. I don't think it would be a good idea to always add a "XML comment" button in the insert panel (since it is allowed anywhere, and it might be...
2009-12-30 18:02:22 UTC by damieng