how to has displayable content in a page

Post here questions and problems related to editing and publishing DITA content.
lisazeng
Posts: 29
Joined: Tue Jun 27, 2017 2:10 pm

how to has displayable content in a page

Post by lisazeng »

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: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: how to has displayable content in a page

Post by ionela »

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/stylegui ... ibute.html
http://www.dita-ot.org/dev/dev_ref/prep ... chunk.html

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
lisazeng
Posts: 29
Joined: Tue Jun 27, 2017 2:10 pm

Re: how to has displayable content in a page

Post by lisazeng »

Hi Ionela,

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

Thanks and it works for me now!

Lisa
Post Reply