Language Output
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Wed Nov 23, 2011 6:31 pm
Language Output
Hello,
I'm gonna talk my case out to see if somebody can help me. First of all I'm using Oxygen 11 so I don´t know if this is possible using this version.
I have a Dita file with information y 2 languages (english and spanish)and what I'm trying to do is to generate an output with just one language information. The thing is that I don't know how to manage this case, perhaps I can create 2 concepts (one for each language) and then omit one concept in the transformation... or maybe is there other way..
Thanks!
Best Regards.
I'm gonna talk my case out to see if somebody can help me. First of all I'm using Oxygen 11 so I don´t know if this is possible using this version.
I have a Dita file with information y 2 languages (english and spanish)and what I'm trying to do is to generate an output with just one language information. The thing is that I don't know how to manage this case, perhaps I can create 2 concepts (one for each language) and then omit one concept in the transformation... or maybe is there other way..
Thanks!
Best Regards.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Language Output
Hi Raul,
Oxygen uses the DITA Open Toolkit to publish DITA content to various output formats.
Usually when having different paragraphs in different languages you have the following alternatives:
1) Have separate topics for each language.
2) Mark each paragraph with the xml:lang value corresponding the the specific language. This will instruct the DITA OT to treat content in those paragraph according to the specified language:
http://docs.oasis-open.org/dita/v1.1/OS ... llang.html
But:
The DITA OT has filtering capabilities but only for specific attributes:
http://docs.oasis-open.org/dita/v1.0/ar ... dproc.html
and xml:lang is not one of them. So you cannot filter based on the value of an xml:lang attribute but you can filter output based on the value of the audience attribute for example.
So on each paragraph you can set also the audience attribute to a specific value.
This is a link to a forum topic discussing in detail filtering content using the DITA OT:
http://www.oxygenxml.com/forum/post1931 ... ing#p19314
Regards,
Radu
Oxygen uses the DITA Open Toolkit to publish DITA content to various output formats.
Usually when having different paragraphs in different languages you have the following alternatives:
1) Have separate topics for each language.
2) Mark each paragraph with the xml:lang value corresponding the the specific language. This will instruct the DITA OT to treat content in those paragraph according to the specified language:
http://docs.oasis-open.org/dita/v1.1/OS ... llang.html
But:
The DITA OT has filtering capabilities but only for specific attributes:
http://docs.oasis-open.org/dita/v1.0/ar ... dproc.html
and xml:lang is not one of them. So you cannot filter based on the value of an xml:lang attribute but you can filter output based on the value of the audience attribute for example.
So on each paragraph you can set also the audience attribute to a specific value.
This is a link to a forum topic discussing in detail filtering content using the DITA OT:
http://www.oxygenxml.com/forum/post1931 ... ing#p19314
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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