Hi Radu,<div>No, I have not tried code templates yet, but I have been looking for them (just passively). I have to admit, I like the product more and more everytime I use it, and I can only complain about a few items.</div>
<div>Code templates will be useful, thanks.</div><div>Karl..<br><br><div class="gmail_quote">On Thu, May 26, 2011 at 12:42 AM, Radu Coravu <span dir="ltr"><<a href="mailto:radu_coravu@sync.ro">radu_coravu@sync.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Karl,<br>
<br>
I understand the use case, indeed it seems useful sometimes to switch<br>
between learning the XML and using the associated schema.<br>
It seems that older versions of Oxygen behaved like you suggested so<br>
somehow the behavior was lost in the newest versions. I added an issue<br>
to our issues list and we'll investigate.<br>
<br>
Have you tried our code templates support?<br>
<a href="http://www.oxygenxml.com/doc/ug-oxygen/topics/preferences-editor-code-templates.html" target="_blank">http://www.oxygenxml.com/doc/ug-oxygen/topics/preferences-editor-code-templates.html</a><br>
They might also be useful to you.<br>
<div class="im"><br>
Regards,<br>
Radu<br>
<br>
Radu Coravu<br>
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
<br>
<br>
</div><div class="im">On 5/26/2011 9:46 AM, Karl Stubsjoen wrote:<br>
> When composing Xml from a schema it is adequate to work with schema<br>
> definition provided, but eventually your Xml "learns" more than your<br>
> schema. For example, lets say you have an element item and an attribute<br>
> width on the item. So you type this: <item width="24px">some<br>
> item</item> then later you type this again with different width value<br>
> <item width="32px">some item</item>.. Perhaps you are going to do this<br>
> a dozen more times and the only 2 width values you ever intend to work<br>
> with is: 24px and 32px.. At this point CTRL+L learns this and now<br>
> oxygen is popping for a width attribute and 2 possible width values; now<br>
> it is easy to select 1 or the other, not to mention fast.<br>
> Now the problem, I'm further down in my Xml now and I need information<br>
> available from the schema, which of course, is not available anymore.<br>
><br>
> Karl..<br>
><br>
> On Wed, May 25, 2011 at 11:25 PM, Radu Coravu <<a href="mailto:radu_coravu@sync.ro">radu_coravu@sync.ro</a><br>
</div><div class="im">> <mailto:<a href="mailto:radu_coravu@sync.ro">radu_coravu@sync.ro</a>>> wrote:<br>
><br>
> Hi Karl,<br>
><br>
> Your observations are correct, there is no way to un-learn except<br>
> reopening the XML.<br>
> We mostly intended the "Learn Structure" action to be called on XML<br>
> files without associated grammars (XML Schemas, DTDs).<br>
> Can you tell us more about your use case? Why do you call the "Learn<br>
> Structure"?<br>
><br>
> Regards,<br>
> Radu<br>
><br>
> Radu Coravu<br>
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<br>
> <a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
><br>
> On 5/26/2011 6:52 AM, Karl Stubsjoen wrote:<br>
> > When composing an xml document that has a schema definition<br>
> associated I<br>
> > get the nice intellisense and auto completion, however if I CTRL+L<br>
> > "learn" the document I am stuck; I do not know how to back to the<br>
> schema<br>
> > association. The reset cache and validate doesn't work and I do not<br>
> > know what else to do besides reopening the xml.<br>
> ><br>
> > --<br>
> > Karl Stubsjoen<br>
> > MeetScoresOnline.com<br>
</div>> > <a href="tel:%28602%29%20845-0006" value="+16028450006">(602) 845-0006</a> <tel:%28602%29%20845-0006><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > oXygen-user mailing list<br>
> > <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a> <mailto:<a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>><br>
<div class="im">> > <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
> _______________________________________________<br>
> oXygen-user mailing list<br>
</div>> <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a> <mailto:<a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>><br>
<div class="im">> <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Karl Stubsjoen<br>
> MeetScoresOnline.com<br>
> <a href="tel:%28602%29%20845-0006" value="+16028450006">(602) 845-0006</a><br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Karl Stubsjoen<br>MeetScoresOnline.com<br>(602) 845-0006<br>
</div>