Search found 18 matches
Search found 18 matches
• Page 1 of 1
- by mike004
- Fri Dec 16, 2022 6:10 pm
- Forum: General XML Questions
- Topic: Reg exp for appending file extension
- Replies: 5
- Views: 1591
Re: Reg exp for appending file extension
I think I need to use brackets to specify the capture group.
Find: "(.*)"
Replace With: "$1.dita"
Find: "(.*)"
Replace With: "$1.dita"
- by mike004
- Fri Dec 16, 2022 5:34 pm
- Forum: General XML Questions
- Topic: Reg exp for appending file extension
- Replies: 5
- Views: 1591
Reg exp for appending file extension
Trying to change all instances of the type <xref href="myfile"> to <xref href="myfile.dita"> using Find/Replace. If I set Xpath to //xref/@href and enter a regexp of ".*", that seems to find the required text string. How can I then quote the found text string in the Rep...
- by mike004
- Tue Nov 29, 2022 8:10 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Docbook refentry conversion
- Replies: 5
- Views: 772
Re: Docbook refentry conversion
Another reason that syntaxdiagram is a problem is that we are also looking to transform some topics from DITA -> troff.
And the troff DITA-OT transformation does not support syntaxdiagram, unfortunately.
And the troff DITA-OT transformation does not support syntaxdiagram, unfortunately.
- by mike004
- Fri Nov 25, 2022 5:18 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Docbook refentry conversion
- Replies: 5
- Views: 772
Re: Docbook refentry conversion
I was expecting some kind of textual list output. Search the web for "syntax diagram" and you get a flow chart.
By the way, we are using DITA 1.2.
By the way, we are using DITA 1.2.
- by mike004
- Thu Nov 24, 2022 8:28 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Docbook refentry conversion
- Replies: 5
- Views: 772
Docbook refentry conversion
Looking to convert refentry content from DocBook XML to DITA.
The default DocBook to DITA transform does not work well. For example, it converts cmdsynopsis => syntaxdiagram
And syntaxdiagram is for flowcharts, I think.
Any suggestions?
The default DocBook to DITA transform does not work well. For example, it converts cmdsynopsis => syntaxdiagram
And syntaxdiagram is for flowcharts, I think.
Any suggestions?
- by mike004
- Fri Jun 11, 2021 4:12 pm
- Forum: Other Issues
- Topic: Finding all id elements in a chapter
- Replies: 1
- Views: 706
Re: Finding all id elements in a chapter
I got this working. It was easier than I expected: XPath: //@id Text to find: .* Select "Regular Expression", deselect "Dot matches all" Then do a Find All, right-click on the results and save to a *.txt file. You can process the resulting file using Oxygen, to remove unwanted fi...
- by mike004
- Fri Jun 11, 2021 2:02 pm
- Forum: Other Issues
- Topic: Finding all id elements in a chapter
- Replies: 1
- Views: 706
Finding all id elements in a chapter
Is there an easy way to find all the id elements in a chapter? And list them, if possible.
I have been using Search/Replace on a single chapter.
I tried using xpath such as //sect1[@id] to get all the id's in a sect1 element. But it returns too many hits.
What is the correct xpath for this, please?
I have been using Search/Replace on a single chapter.
I tried using xpath such as //sect1[@id] to get all the id's in a sect1 element. But it returns too many hits.
What is the correct xpath for this, please?
- by mike004
- Tue Feb 18, 2014 2:00 pm
- Forum: Other Issues
- Topic: emphasis role="strong": quick way to enter
- Replies: 1
- Views: 1607
Re: emphasis role="strong": quick way to enter
Looks like I can do this by creating a code template:
<emphasis role="strong">${selection}</emphasis>
Select the text to wrap, press Ctrl-Space, then choose the code template.
Quicker than typing it all in manually!
<emphasis role="strong">${selection}</emphasis>
Select the text to wrap, press Ctrl-Space, then choose the code template.
Quicker than typing it all in manually!
- by mike004
- Tue Feb 18, 2014 1:30 pm
- Forum: Other Issues
- Topic: emphasis role="strong": quick way to enter
- Replies: 1
- Views: 1607
emphasis role="strong": quick way to enter
I need to mark up a lot of strings as bold text, using <emphasis role="strong"> <emphasis role="strong">hello</emphasis> Using Ctrl-E, I can quickly wrap a string with <emphasis>. But is there a way to avoid manually typing in the role="strong" attribute. Maybe I can te...
- by mike004
- Thu Sep 29, 2011 5:26 pm
- Forum: General XML Questions
- Topic: Adding a new attribute to an element: search and replace
- Replies: 2
- Views: 1895
Re: Adding a new attribute to an element: search and replace
Thanks, Adrian. that works perfectly.
It's so obvious now...
It's so obvious now...
- by mike004
- Tue Sep 27, 2011 5:01 pm
- Forum: General XML Questions
- Topic: Adding a new attribute to an element: search and replace
- Replies: 2
- Views: 1895
Adding a new attribute to an element: search and replace
I'm trying to work how to achieve the following using Oxygens "find and replace in files" feature. Find these elements: //thead/row/entry Add an attribute role="col" to each entry element that you find. //thead/row/entry[@role="col"] I'm not sure which XML find options ...
- by mike004
- Fri Mar 25, 2011 2:37 pm
- Forum: General XML Questions
- Topic: Reg expression help needed
- Replies: 3
- Views: 2012
Re: Reg expression help needed
If for some reason(e.g. you need to do this programatically) you still want to do this with regular expressions, search for: <section(.*?)>(\s*)<title>(.*?)</title>((.|\s)*?)</section> Thanks I was able to do this by modifying this experssion. The key is the (.|\s) expression, which matches "a...
- by mike004
- Fri Mar 25, 2011 12:11 pm
- Forum: General XML Questions
- Topic: Reg expression help needed
- Replies: 3
- Views: 2012
Reg expression help needed
Any regexp experts out there? I want to find all <sections> with title= "Description": <section id="xxx"> [whitespace, zero or more blank lines] <title="Description"> [XML content] </section> And change them to <bridgehead>: <bridgehead id="xxx"> [whitespace] ...
- by mike004
- Thu Mar 24, 2011 2:42 pm
- Forum: Common Problems
- Topic: Find/Replace in Files: Inconsistent with basic Find/Replace
- Replies: 1
- Views: 1011
Find/Replace in Files: Inconsistent with basic Find/Replace
XML Author 12.1, build 2011012011 on Red Hat Linux 5.5 I am finding that using the same regular expression for Find/Replace (on a single file) and Find/Replace in Files (across multiple files) does not return consistent results. For example, finding multiple white spaces Regular expression is \s\s+ ...
- by mike004
- Wed Mar 02, 2011 2:59 pm
- Forum: Common Problems
- Topic: XML Author: no help available
- Replies: 1
- Views: 1045
XML Author: no help available
XML Author 12.1, build 2011012011
Click the Help menu option and nothing happens.
But when using XML Editor, the Help is launched.
Click the Help menu option and nothing happens.
But when using XML Editor, the Help is launched.
- by mike004
- Fri Feb 18, 2011 4:45 pm
- Forum: Common Problems
- Topic: Where are the desktop icons and menus?
- Replies: 4
- Views: 2079
Re: Where are the desktop icons and menus?
If you install Oxygen under a regular user they should all work, you will also find application menu items under Applications -> Other. Adrian But if I install Oxygen as a regular user, can I install to /opt? Otherwise, I will have to install to my /home/mike directory, which is not what I want.
- by mike004
- Fri Feb 18, 2011 3:17 pm
- Forum: Common Problems
- Topic: Where are the desktop icons and menus?
- Replies: 4
- Views: 2079
Re: Where are the desktop icons and menus?
The icons were on the root Desktop. I had to copy them to my home Desktop folder.
No sign of the application menu items, though.
No sign of the application menu items, though.
- by mike004
- Fri Feb 18, 2011 2:36 pm
- Forum: Common Problems
- Topic: Where are the desktop icons and menus?
- Replies: 4
- Views: 2079
Where are the desktop icons and menus?
I installed XML Editor 12.1 on Red Hat 5.5, Gnome desktop. To install, I su to root user. Oxygen was installed in /opt. I did not select symlinks during install (the default was to to create symlinks in /root !) I selected to create a desktop icon. * I can start oxygen by running /opt/Oxygen.../oxyg...
Search found 18 matches
• Page 1 of 1
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service