Page 1 of 1
Nesting two different schemas within each other
Posted: Wed Oct 16, 2013 6:07 am
by pkong
I have an XML file type where, within certain elements, the content is 100% DITA with tables, rich text, etc. Is there a way to apply author mode transforms on the DITA content and nest it within CSS transforms of the larger file?
Re: Nesting two different schemas within each other
Posted: Wed Oct 16, 2013 9:03 am
by Radu
Hi,
How about in the CSS used to render the main XML document in the Author mode you import the CSS used for DITA? That CSS is located in:
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/dita.css
Regards,
Radu
Re: Nesting two different schemas within each other
Posted: Tue Nov 05, 2013 11:26 pm
by pkong
What is the correct syntax to import another .css? I've tried:
@import "c:/install_dir/..."; and oxygen gives the error: "unknown protocol: c"!
Re: Nesting two different schemas within each other
Posted: Wed Nov 06, 2013 9:23 am
by Radu
Hi,
The reference can either be a relative reference like:
or an absolute URL reference like:
Code: Select all
@import "file:/c:/install_dir/..."
If you want you can copy the entire contents of the folder
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed near your CSS file and make a relative reference to the
dita.css.
Regards,
Radu