Auto-completion for <xsl:> and <fo:>
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Mon Jan 05, 2009 11:08 pm
Auto-completion for <xsl:> and <fo:>
Hi,
I am using the new Oxygen10 and have a strange Problem.
I use XSLT .xsl and XSL-FO .fo files and i can not get full auto-completion!
That means, if i have a .xsl file, i have only auto-completion for tags, which start with <xsl:...>, but there is nothing with <fo:...>!!
And when i create a .fo file with direct output to .pdf there is no auto-completion for any tags with <xsl:....>.
My question is: how can i use auto-completion for <fo:...> and <xsl:...> tags in the same file?
Maybe i declared the namespace wrong??
Namespace in .fo file
---------------
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-------------------
Namespace in .xsl file
---------------
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
I am using the new Oxygen10 and have a strange Problem.
I use XSLT .xsl and XSL-FO .fo files and i can not get full auto-completion!
That means, if i have a .xsl file, i have only auto-completion for tags, which start with <xsl:...>, but there is nothing with <fo:...>!!
And when i create a .fo file with direct output to .pdf there is no auto-completion for any tags with <xsl:....>.
My question is: how can i use auto-completion for <fo:...> and <xsl:...> tags in the same file?
Maybe i declared the namespace wrong??
Namespace in .fo file
---------------
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-------------------
Namespace in .xsl file
---------------
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
-
- Posts: 4
- Joined: Mon Jan 05, 2009 11:08 pm
Re: Auto-completion for <xsl:> and <fo:>
After searching and searching 
http://www.oxygenxml.com/forum/topic297 ... completion
If u ask me, this could automaticly be done, when u declare xmlns:xsl="http://www.w3.org/1999/XSL/Transform" and
xmlns:fo="http://www.w3.org/1999/XSL/Format"
"namespace" in a .xsl file. It is obvious that u want to use <fo:>.
edit: btw, how do i turn auto-completion for <xsl:..> tags in .fo files?
It is only <fo:> shown.

http://www.oxygenxml.com/forum/topic297 ... completion
If u ask me, this could automaticly be done, when u declare xmlns:xsl="http://www.w3.org/1999/XSL/Transform" and
xmlns:fo="http://www.w3.org/1999/XSL/Format"
"namespace" in a .xsl file. It is obvious that u want to use <fo:>.
edit: btw, how do i turn auto-completion for <xsl:..> tags in .fo files?
It is only <fo:> shown.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Auto-completion for <xsl:> and <fo:>
Post by sorin_ristache »
Hello,
We will consider detecting automatically the namespace declarations in the XSLT file. The editor must detect also other cases: a namespace prefix (for example a prefix for the FO namespace "http://www.w3.org/1999/XSL/Format") can be declared on other elements than the root element of an XSLT stylesheet.
Regards,
Sorin
Just set the content completion in XSLT stylesheets to XSLT + XSL-FO elements instead of XSLT + XHTML elements which is the default. You have to select the radio button Formatting objects.Furious wrote:If u ask me, this could automaticly be done, when u declare xmlns:xsl="http://www.w3.org/1999/XSL/Transform" and
xmlns:fo="http://www.w3.org/1999/XSL/Format"
"namespace" in a .xsl file. It is obvious that u want to use <fo:>.
We will consider detecting automatically the namespace declarations in the XSLT file. The editor must detect also other cases: a namespace prefix (for example a prefix for the FO namespace "http://www.w3.org/1999/XSL/Format") can be declared on other elements than the root element of an XSLT stylesheet.
XSLT tags are not available in the editor for XSL-FO files. If a file contains both xsl: tags and fo: tags then it is an XSLT stylesheet and in this case you should use the editor for XSLT stylesheets where the content completion can be set to offer both types of tags.Furious wrote:how do i turn auto-completion for <xsl:..> tags in .fo files?
It is only <fo:> shown.
Regards,
Sorin
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