Conditional Documentation

This should cover W3C XML Schema, Relax NG and DTD related problems.
manugeorgep89
Posts: 3

Conditional Documentation

Thu Nov 09, 2017 1:40 pm

Hello Team,

I am using Oxygen Author tool and I wanted to know two possibilities, if available or not, in the Oxygen Author tool.

1. Can I generate/publish (in PDF or other formats) the contents of XML in different languages? To elaborate, I have few comments in English and few comments in German; I want to generate/publish the document having German comments only. Similarly I should be able to generate the document with English comments alone. Is this possible? Else is there an alternative?

2. I have few confidential information in my XML document, which should be generated/published in the PDF(or other formats) only based on some condition. Is this possible? Is there an alternative for this?
Radu
Posts: 5088

Re: Conditional Documentation

Thu Nov 09, 2017 3:14 pm

Hi,

Are you using a custom XML vocabulary?
If so, you will need to create some specialized attributes and values which you can use to mark certain XML elements as pertaining to certain categories.
Then your in-house publishing system could filter out elements from the published output based on those attribute values.

Popular XML vocabularies like DITA or Docbook have such attributes defined in the vocabulary and they have various profiling/filtering choices when publishing. For example here's how the filtering is done for DITA:

https://www.oxygenxml.com/demo/DITA_Profiling.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
manugeorgep89
Posts: 3

Re: Conditional Documentation

Thu Nov 09, 2017 3:47 pm

Hello Radu,

Is there any similar link to edit profiling for Docbook?
Radu
Posts: 5088

Re: Conditional Documentation

Thu Nov 09, 2017 3:55 pm

Hi,

Here we go:

https://www.oxygenxml.com/demo/DocBook_Profiling.html

With Docbook, the transformation scenarios have certain parameters which can be set to filter content.
More about Docbook profiling:

http://www.sagehill.net/docbookxsl/Profiling.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
manugeorgep89
Posts: 3

Re: Conditional Documentation

Thu Nov 09, 2017 4:24 pm

Hi Radu,

Thank You for the quick replies!!!
I will have a look into the support links/documents/videos and let you know the feedback.

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest