how to has displayable content in a page

lisazeng
Posts: 29

how to has displayable content in a page

Tue Jul 11, 2017 3:02 pm

In an xml in Oxygen, I want to have below logic.,

Chapter 1
XXXXXXXXXX
chapter 1.1
xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxx

chapter 1.2
xxxxxxxxx
xxxxxxxxx

all content are shown in the same xml or published in html and the chapter 1.1 and chapter 1.2 can be folded as below, you can click chapter 1.1 or chaopter1.2 to unfold it. how to create this founction?

Chapter 1
XXXXXXXXXX
chapter 1.1
chapter 1.2


Thanks!
ionela
Posts: 167

Re: how to has displayable content in a page

Wed Jul 12, 2017 1:52 pm

Hi,

What type of documentation framework are you using? Is it DITA?
If yes, could you please specify what transformation scenario have you used to produce the output? DITA Map WebHelp Responsive?
In this case, you can use the DITA chunking mechanism (you should probably use the chunk="to-content" attribute set on the root map or on the first-level chapter topics). A few links to useful resources:
https://www.oxygenxml.com/dita/styleguide/webhelp-feedback/index.html#Artefact/Maps/c_Chunk_Attribute.html
http://www.dita-ot.org/dev/dev_ref/preprocess-chunk.html

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
lisazeng
Posts: 29

Re: how to has displayable content in a page

Thu Jul 27, 2017 12:33 pm

Hi Ionela,

Yes, I use dita and the transformation scenario is a html format.

Thanks and it works for me now!

Lisa

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 2 guests