replacing a variable in XML file
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: replacing a variable in XML file
Hi,
If you're referring to a variable in an XSL file, Oxygen provides some specialized helpers for renaming
variables (and other components). Click/position the text caret in the editor on the variable name (or variable reference) to highlight it. When a variable (or other component) is highlighted, a light-bulb appears on the left stripe. You can either click the light bulb or use the Alt+1 shortcut to invoke the Quick Assist proposals. You can then use either Rename component in... (works on master files) or Rename component (Alt+Shift+R) (works only on current file).
If you only need to do this within the current file you can use directly the Rename component shortcut key, Alt+Shift+R.
Oxygen XML Editor - Quick Assist and Quick Fix Support
If you just need simple find/replace operations on text you can use the Find > Find/Replace (Ctrl+F) dialog.
Regards,
Adrian
If you're referring to a variable in an XSL file, Oxygen provides some specialized helpers for renaming
variables (and other components). Click/position the text caret in the editor on the variable name (or variable reference) to highlight it. When a variable (or other component) is highlighted, a light-bulb appears on the left stripe. You can either click the light bulb or use the Alt+1 shortcut to invoke the Quick Assist proposals. You can then use either Rename component in... (works on master files) or Rename component (Alt+Shift+R) (works only on current file).
If you only need to do this within the current file you can use directly the Rename component shortcut key, Alt+Shift+R.
Oxygen XML Editor - Quick Assist and Quick Fix Support
If you just need simple find/replace operations on text you can use the Find > Find/Replace (Ctrl+F) dialog.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: replacing a variable in XML file
Hi,
There are no variables in XML, only in XSL. Maybe you're thinking of entities?
Could you please provide an example of what you call a "variable in an XML file"?
Regards,
Adrian
There are no variables in XML, only in XSL. Maybe you're thinking of entities?
Could you please provide an example of what you call a "variable in an XML file"?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
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