New document in oXygen

Hi, I'm also having trouble with the New Document option in v12. In my line of work, I'm frequently (very frequently) using a new schema provided by a client or associate. Say I want to create a document using it. In v11, I had the choice of saying File/New and then selecting the schema in a dialogue. Unless I'm missing it, I can't do that any more. What's more, if I go ahead and create a blank XML document, I can't bind it to a schema until I have a document element. Sometimes I'll know in advance what the type of that element should be (along with namespace etc.) -- but not always. Maybe the capability of starting a new document with an arbitrary schema binding is right in front of me somewhere? Cheers, Wendell ====================================================================== Wendell Piez mailto:wapiez@mulberrytech.com Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Hi Wendell, Some of the new document templates have a second page. After you select XML Document in the new dialog click on the Customize button to get to the page where you specify the schema and choose the root element (the same functionality that you mention from the previous version). Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 9/27/10 10:55 PM, Wendell Piez wrote:
Hi,
I'm also having trouble with the New Document option in v12.
In my line of work, I'm frequently (very frequently) using a new schema provided by a client or associate. Say I want to create a document using it. In v11, I had the choice of saying File/New and then selecting the schema in a dialogue.
Unless I'm missing it, I can't do that any more. What's more, if I go ahead and create a blank XML document, I can't bind it to a schema until I have a document element. Sometimes I'll know in advance what the type of that element should be (along with namespace etc.) -- but not always.
Maybe the capability of starting a new document with an arbitrary schema binding is right in front of me somewhere?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@mulberrytech.com Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

OK. But if I forget to click "customize"[1], it would be nice to be able to jus click on "Associate Schema..." to associate one. But instead, I have to insert a dummy element to make the document well-formed first, then insert the schema, then delete the (now invalid) dummy element. I presume there is a good reason that Associate Schema... requires a well-formed document, but maybe it could be taught not to object to a newly created document? In any case, keep up the good work. Note ---- [1] Which, BTW, I like so far. It is very easy to get to -- TAB-TAB-SPACE does it for me -- and I really like two of the new features: - figures out schema type from extension, but I can override - allows me to specify prefix However, I'm a little concerned that the next new document I create uses the same customization values (no big deal) and it seems quite difficult to tell oXygen not to (pain in the keyboard).
Some of the new document templates have a second page. After you select XML Document in the new dialog click on the Customize button to get to the page where you specify the schema and choose the root element (the same functionality that you mention from the previous version).
participants (3)
-
George Cristian Bina
-
Syd Bauman
-
Wendell Piez