Search found 17 matches

by anayram
Tue Apr 13, 2010 10:37 pm
Forum: XML Schemas
Topic: define combine="interleave"
Replies: 3
Views: 2471

Re: define combine="interleave"

Thank you very much, this solved the issue.

Cheers,
Mariana
by anayram
Thu Apr 08, 2010 9:14 pm
Forum: XML Schemas
Topic: define combine="interleave"
Replies: 3
Views: 2471

Re: define combine="interleave"

My apologies, the second example should read: <include href="common.rng"> <define name="narrow-inclusion" [b]combine="interleave"[/b]> <zeroOrMore> <choice> <ref name="C-element"></ref> <ref name="D-element"></ref> </choice> </zeroOrMore> </define> </include> Thanks! Mariana
by anayram
Thu Apr 08, 2010 9:12 pm
Forum: XML Schemas
Topic: define combine="interleave"
Replies: 3
Views: 2471

define combine="interleave"

I think there might be a problem with RelaxNG's combine="interleave" pattern in Oxygen. I defined a "common" schema that contains element definitions used both in schemas "A" and "B". For schema B, I need to redefine a pattern called "narrow-inclusion" (already defined in "common") by allowing the o...
by anayram
Wed Feb 03, 2010 10:55 pm
Forum: General XML Questions
Topic: empty elements - add closing tag by default
Replies: 1
Views: 4099

empty elements - add closing tag by default

Hi there, In our project, we often need to add empty elements to the text (editing only attributes). As you know, empty elements may be written in a short form, omitting the end tag: <example/>; that is equivalent to the full form <example></example>. In Oxygen, I've found that elements that do not ...
by anayram
Wed Dec 02, 2009 12:36 am
Forum: Common Problems
Topic: Varying schemas and autocomplete problems
Replies: 11
Views: 5535

Re: Varying schemas and autocomplete problems

1. Relax NG does not have a notion of default or fixed attribute value in the sense of DTD or XML Schema because it does not change the XML, it just provides validation. You can surely check the values of an attribute against a list if values. Maybe what you want here is more like the XML instance ...
by anayram
Tue Dec 01, 2009 1:10 am
Forum: Common Problems
Topic: Varying schemas and autocomplete problems
Replies: 11
Views: 5535

Re: Varying schemas and autocomplete problems

Hi Sorin, Thanks for your time. Here are two things that would be really nice to have, and which would be great additions to Oxygen's usability by content authors: [*]Autocomplete to include required values: In the New dialog (initial XML document) it would be great if Oxygen also added automaticall...
by anayram
Mon Nov 30, 2009 10:23 pm
Forum: General XML Questions
Topic: A way to compact XML files, to reverse indenting
Replies: 9
Views: 4991

Re: A way to compact XML files, to reverse indenting

Hi Sorin,

I have also followed the instructions; no success either. If needed, I already sent a sample schema via the technical support form.

Cheers,
--
anayram
by anayram
Sat Nov 28, 2009 1:03 am
Forum: Common Problems
Topic: Varying schemas and autocomplete problems
Replies: 11
Views: 5535

Re: Varying schemas and autocomplete problems

I think you want to insert automatically child elements and child attributes that are not defined as optional (the oneOrMore pattern, attributes that are not enclosed by the optional pattern, etc) when their parent element is inserted in the edited document by the content completion assistant. Yes,...
by anayram
Sat Nov 28, 2009 12:27 am
Forum: Other Issues
Topic: Allowing
Replies: 6
Views: 1601

Re: Allowing

Hi Radu, thanks so much for your help. This our ideal scenario: Users being able to copy text (from Author mode) including XML tags WITHOUT indenting/formatting. If I wanted the indented version, I would go to Text mode and copy from there. OK scenario: Users being able to copy text (from Author mod...
by anayram
Thu Nov 26, 2009 11:48 pm
Forum: Other Issues
Topic: Allowing
Replies: 6
Views: 1601

Re: Allowing

Thank you, our previous editor allowed copying/pasting tags and prose, so authors are pretty used to this. We will see into adding a custom action to our framework. The problem with switching to text mode is that you also get the indenting (tabs and spaces), which will also cause problems at the mom...
by anayram
Thu Nov 26, 2009 2:26 am
Forum: Other Issues
Topic: Allowing
Replies: 6
Views: 1601

Re: Allowing

And the Subject should be something similar to "Allowing copy and paste from Author mode including tags."

Sorry about the mistake.
by anayram
Thu Nov 26, 2009 2:24 am
Forum: Other Issues
Topic: Allowing
Replies: 6
Views: 1601

Allowing

Is there a way to copy text (from Author mode) and get *all* the content in plain text, including tags and prose? I am copying this: <CHRONPROSE>French physician <NAME>Pierre Briquet</NAME> (<DATERANGE FROM="1796--" TO="1881--" EXACT="BOTH" CALENDAR="NEWSTYLE" CERTAINTY="CERT">1796-1881</DATERANGE>)...
by anayram
Thu Nov 26, 2009 1:30 am
Forum: General XML Questions
Topic: A way to compact XML files, to reverse indenting
Replies: 9
Views: 4991

Re: A way to compact XML files, to reverse indenting

Is there a way to remove the returns and tabs without having to use a search/replace Regex?
by anayram
Fri Nov 20, 2009 1:45 am
Forum: Common Problems
Topic: Content completion in XML documents with RELAX NG schemas
Replies: 6
Views: 1638

Re: Content completion in XML documents with RELAX NG schemas

There should be no difference on what it is inserted in the document when you pick a proposal from the content completion list no matter if you are in Text or Author mode. Thank you, Is there a way to have Oxigen inserting the first choice particle without having to pick it from the content complet...
by anayram
Thu Nov 19, 2009 12:44 am
Forum: Common Problems
Topic: Content completion in XML documents with RELAX NG schemas
Replies: 6
Views: 1638

Re: Content completion in XML documents with RELAX NG schemas

BTW, how can I send you a sample schema (if needed)?

Cheers,
by anayram
Thu Nov 19, 2009 12:41 am
Forum: Common Problems
Topic: Content completion in XML documents with RELAX NG schemas
Replies: 6
Views: 1638

Re: Content completion in XML documents with RELAX NG schemas

We are new to Oxygen and XML so I am going to explain the issue in layman terms, hope you don't mind! Our previous SGML editor (used by content authors in Author mode only) automatically populated either default (fixed) values, or inserted the first choice particle in a list of required attribute va...
by anayram
Wed Oct 28, 2009 8:51 pm
Forum: Common Problems
Topic: Content completion in XML documents with RELAX NG schemas
Replies: 6
Views: 1638

Content completion in XML documents with RELAX NG schemas

Hi, Having the same problem. We are migrating from SGML DTDs to schemas, and I am working with Relax NG (its flexibility turned out to be very good for sorting out the inclusions / exclusions issue). Our previous SGML editor (used by content authors) populated either default values or the first choi...