Search found 80 matches

by ra0543
Fri Aug 27, 2010 1:35 pm
Forum: XSLT and FOP
Topic: Prince XML and oXygen
Replies: 1
Views: 4285

Prince XML and oXygen

A post today on a PrinceXML forum ( http://www.princexml.com/bb/viewtopic.php?f=4&t=3791&start=0 ) suggests Prince can be integrated with Oxygen to take the result of a transformation and process it directly into PDF using CSS. I'm not familiar with the FO set up of Oxygen, not having used i...
by ra0543
Thu Jul 29, 2010 12:48 pm
Forum: XML Schemas
Topic: Require non-empty sequence
Replies: 1
Views: 2424

Require non-empty sequence

I'm using Schema to define the structure of my XML. At this stage it's not going to be easy to switch to a different metalanguage. Can I define an element <parent> that has a sequence of child elements which are individually optional (i.e. no specific one is required) but where at least one has to b...
by ra0543
Tue Jun 15, 2010 12:15 pm
Forum: Common Problems
Topic: Author mode content completion, possible bug
Replies: 3
Views: 2010

Author mode content completion, possible bug

Sometimes - not often, but often enough to be really annoying - in Author mode I find there is a delay of a second or so between pressing [ENTER] and the content completion context menu appearing. During this time any keys I press are applied to the main editing screen. For instance, if I type the f...
by ra0543
Thu Jun 10, 2010 6:10 pm
Forum: Feature Request
Topic: Author mode: content completion menu
Replies: 4
Views: 2359

Re: Author mode: content completion menu

OK - I see the point. In that case having an option would be better (for those of us who don't want to have to do any complicated customisation!). Personally I'd rather in that case there was the option to remove both from the content completion menu altogether: The 'Split' option is already easily ...
by ra0543
Thu Jun 10, 2010 11:46 am
Forum: Feature Request
Topic: Author mode: content completion menu
Replies: 4
Views: 2359

Author mode: content completion menu

Would it be possible to change the order of the options that appear in the content completion context menu invoked in Author mode when the [enter] key is pressed? At present the top two entries are: ENTER Split xx and only then do the available elements appear. [I know that the ENTER only appears in...
by ra0543
Wed Jun 09, 2010 12:17 am
Forum: General XML Questions
Topic: Absolute links for cross-platform working
Replies: 3
Views: 3290

Re: Absolute links for cross-platform working

Thanks. That was roughly what I thought, but it is helpful to have it confirmed by someone who knows more about these things than I do. We're just going to abandon the Macs, which - stylish though they may be - are evidently far more use for propping up wobbly tables and wedging doors open than any ...
by ra0543
Tue Jun 01, 2010 12:39 pm
Forum: Feature Request
Topic: Entities in attributes view in author mode
Replies: 3
Views: 2761

Entities in attributes view in author mode

Would it be possible for the attributes view in author mode to allow the direct entry of characters like & as themselves rather than requiring the entry as an XML entity & ? This would make the attributes view consistent with the main editing panel in author mode. The current behaviour for t...
by ra0543
Thu May 06, 2010 5:24 pm
Forum: Feature Request
Topic: Author mode: cut (and paste) XML
Replies: 14
Views: 10665

Author mode: cut (and paste) XML

For collaborative working it would be handy to have commands in author mode that cut and paste the underlying XML: the idea would be that it would be possible, say, to select a chunk of marked up text in author mode and have the option to cut/copy it to the clipboard including its XML mark-up (both ...
by ra0543
Thu Apr 29, 2010 5:00 pm
Forum: XSLT and FOP
Topic: XSL multiple file input
Replies: 5
Views: 12462

Re: XSL multiple file input

Thanks. That's really helpful. I have a follow-up question or two, with regard to doing more complex things with this ... (1) Can I combine collections in the usual way in select expressions, e.g. select="collection('../A?select=*.xml')|collection('../B?select=*.xml')" ? This seems to work...
by ra0543
Fri Apr 23, 2010 12:19 pm
Forum: XSLT and FOP
Topic: XSLT, XInclude, and XPointer
Replies: 1
Views: 1478

XSLT, XInclude, and XPointer

XInclude depends very heavily on XPointer, especially if it is to be really useful - i.e. to provide an easy way to reuse subsets of nodes in a document rather than using a transformation to generate a new document including them, since a new document of this kind then doesn't remain up-to-date if t...
by ra0543
Mon Apr 12, 2010 12:45 pm
Forum: XSLT and FOP
Topic: XSL multiple file input
Replies: 5
Views: 12462

XSL multiple file input

Is there a way to use XSLT over multiple input files (specified by location or wildcard) to produce a single output file? For instance, I have a directory with a varying number of XML files, all of which have the same XML structure: FILE1.xml <a><header>some metadata A</header><content>file contents...
by ra0543
Thu Mar 25, 2010 7:48 pm
Forum: XSLT and FOP
Topic: Counting examples
Replies: 3
Views: 1736

Re: Counting examples

Thanks, that will do what I have in mind. Can I modify this so that the contents of <b> are ignored when processing <a>? In other words, if I have <a>This (i.e. <b>an example)</b> is an example.</a> I'd like the test here to come out false: <xsl:template match="a"> <xsl:if test="strin...
by ra0543
Wed Mar 24, 2010 7:21 pm
Forum: XSLT and FOP
Topic: Counting examples
Replies: 3
Views: 1736

Counting examples

Is there a straightforward way function to count the number of times a particular character or sequence of characters appears in the text of an element? For instance in <a>This (i.e. <b>an example</b>) is an example.</a> I would like to be able to count how many times the letter 'i' appears in eleme...
by ra0543
Thu Mar 18, 2010 9:54 pm
Forum: Feature Request
Topic: Import/export individual transformation scenario
Replies: 5
Views: 4065

Import/export individual transformation scenario

The option to import/export global scenarios is really useful. Could we have a way to import and export an individual scenario (and/or a subset of all the global scenarios)?
by ra0543
Tue Mar 09, 2010 12:10 am
Forum: General XML Questions
Topic: Absolute links for cross-platform working
Replies: 3
Views: 3290

Absolute links for cross-platform working

What I have is not technically an XML problem, but I hope someone on here can suggest some solutions, since it arises in the context of collaborative working on XML data. We have a mixed PC and Apple environment and keep our data stored on a network drive accessible to all machines. We have on that ...
by ra0543
Wed Mar 03, 2010 2:02 pm
Forum: Common Problems
Topic: Find & Replace with XPath
Replies: 17
Views: 10786

Re: Find & Replace with XPath

Thanks. Now I see it: it's fine in text mode as the document is well-formed.

I use Oxygen almost entirely in Author mode, because it is so much more user-friendly. Can the XPath search be made available in Author mode too? It would be really useful.
by ra0543
Wed Mar 03, 2010 12:50 pm
Forum: Common Problems
Topic: Find & Replace with XPath
Replies: 17
Views: 10786

Re: Find & Replace with XPath

Why is the XPath box in the Find/Replace dialogue usually greyed out? What do I have to do to get it to allow me to enter anything into it?
by ra0543
Tue Feb 23, 2010 4:56 pm
Forum: XSLT and FOP
Topic: Extract list and count of different values
Replies: 3
Views: 2082

Re: Extract list and count of different values

Brilliant. Thanks. Can I use for-each-group to produce groups of the actual elements with interspersed material like group headings? e.g. <a> <c>Type C</c> <b att="c"> ... </b> <b att="c"> ... </b> <c>Type X</c> <b att="x"> ... </b> <b att="x"> ... </b> <b att...
by ra0543
Tue Feb 23, 2010 3:38 pm
Forum: XSLT and FOP
Topic: Extract list and count of different values
Replies: 3
Views: 2082

Extract list and count of different values

I have data of the following form: <a> <b att="x"> ... </b> <b att="c"> ... </b> <b att="y"> ... </b> <b att="z"> ... </b> <b att="x"> ... </b> <b att="x"> ... </b> <b att="z"> ... </b> <b att="c"> ... </b> </a> I want t...
by ra0543
Sat Feb 20, 2010 3:27 pm
Forum: XSLT and FOP
Topic: Position of child element within mixed content
Replies: 1
Views: 1308

Position of child element within mixed content

I have data like the following (example 1): <a>text <b>more text</b> text</a> Sometimes the <b> child element occurs right at the start of the parent <a> (example 2): <a><b>more text</b> text</a> or right at the end (example 3): <a>text <b>more text</b></a> I want a template to match "a/b"...
by ra0543
Thu Jan 21, 2010 6:35 pm
Forum: Feature Request
Topic: Prompt for XSLT file
Replies: 5
Views: 3203

Re: Prompt for XSLT file

That's really helpful, though a GUI is a lot less hassle. Still, I am happy to live with using the command line. Is there a batch file I could create to do the same using an XSLT 2.0 transformer such as one of the various Saxon 9.2.0.3 ones? If so how?
by ra0543
Wed Jan 20, 2010 5:07 pm
Forum: Feature Request
Topic: Prompt for XSLT file
Replies: 5
Views: 3203

Re: Prompt for XSLT file

Thanks - I didn't notice any makeover in v11, but maybe it was very subtle. Your suggestion is interesting and might be useful in some circumstances, but it doesn't really do what I have in mind, which is to have an easy way to do one-off transformations variously on different files. It seems somewh...
by ra0543
Wed Jan 20, 2010 2:57 am
Forum: Feature Request
Topic: Prompt for XSLT file
Replies: 5
Views: 3203

Prompt for XSLT file

Currently it is possible to choose 'Prompt for file' to determine where the output of a transformation goes. Would it possible likewise to have either an option or editor variable with the value 'prompt for file' so that one could set up a transformation scenario that prompts the user for either or ...
by ra0543
Wed Jan 13, 2010 5:52 pm
Forum: Feature Request
Topic: "folded" CSS property
Replies: 12
Views: 6879

Re: "folded" CSS property

One further (and I hope final) request on this: Can you add a fold control (perhaps an upwards pointing triangle) at the end of a foldable element like the existing control that appears as a downwards pointing triangle on the line of the start tag of an unfolded foldable element? The new control sho...
by ra0543
Wed Jan 13, 2010 1:24 pm
Forum: Feature Request
Topic: "folded" CSS property
Replies: 12
Views: 6879

Re: "folded" CSS property

Thanks. We'll look forward to this becoming available. Either at the same time as this or even before if possible, would it also be possible to implement toolbar shortcut buttons to unfold and fold all foldable elements (perhaps with the exception of folding the part of the document containing the c...
by ra0543
Fri Jan 08, 2010 1:25 pm
Forum: Feature Request
Topic: "folded" CSS property
Replies: 12
Views: 6879

Re: "folded" CSS property

I think it would still be really helpful to have CSS control over the default display of foldable elements, so that one could mark a number of levels of a hierarchy (e.g. levels 2, 3 and 4) as foldable but have a default for the CSS (e.g. elements at level 2 are unfolded but those inside at level 3,...
by ra0543
Mon Dec 28, 2009 10:05 pm
Forum: Common Problems
Topic: Open last edited files from project
Replies: 11
Views: 5859

Re: Open last edited files from project

Thanks. I'll try that.

It would be good not to have to have a project open. I don't have any need for projects - I use Windows to manage my few files, and I only need one set of preferences and transformations.
by ra0543
Fri Dec 18, 2009 8:17 pm
Forum: Common Problems
Topic: Open last edited files from project
Replies: 11
Views: 5859

Re: Open last edited files from project

I noticed this too, with Oxygen 11.0, and it is still doing it with the new Oxygen 11.1 that I installed today. Every time I start Oxygen it opens any files that were open when I last closed it down. The 'Open last edited files from project' option is definitely not checked in the Options | Preferen...
by ra0543
Fri Dec 04, 2009 2:50 pm
Forum: Feature Request
Topic: Author mode, refactoring, splitting element
Replies: 2
Views: 2227

Author mode, refactoring, splitting element

Can you consider changing the refactoring 'split element' function in author mode so that it does exactly the same thing as it does in text mode, i.e. splits the current element into two adjacent siblings of the same type rather than the lowest ancestor block element? In author mode, it is often ann...
by ra0543
Thu Dec 03, 2009 1:56 pm
Forum: Feature Request
Topic: Preventing unintended changes
Replies: 3
Views: 1898

Re: Preventing unintended changes

That's useful to know. Obviously I could use the operating system level protection, but I think easily turning editability on and off inside Oxygen (without necessarily making the file itself read-only, since I might not have the permissions to change this) would be a very helpful addition too. It i...