Search found 38 matches

by eloralon
Thu Jan 05, 2012 5:30 pm
Forum: General XML Questions
Topic: Convert <br /> elements to <p /> during html copy
Replies: 4
Views: 2361

Re: Convert <br /> elements to <p /> during html copy

Thanks Sorin for your reply, Since I have a very rudimentary understanding of xslt because I am still learning it. Would you please tell me how to go about the change for the <br/> conversion to <p/>? Looking through the xslt style sheet for html to DITA I saw the following template: <xsl:template m...
by eloralon
Wed Jan 04, 2012 8:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA XML elements with class attribute
Replies: 8
Views: 4664

Re: DITA XML elements with class attribute

Thanks Adrian for your reply, I see that by default the class attribute is already present on the <p> element but does not get created in the content. I will definitely need the <p> element with the class attribute. Please let me know how to activate it by default whenever a new paragraph is created...
by eloralon
Tue Jan 03, 2012 8:02 pm
Forum: General XML Questions
Topic: Convert <br /> elements to <p /> during html copy
Replies: 4
Views: 2361

Convert <br /> elements to <p /> during html copy

Hello, Is it possible to convert <br/> from legacy html to <p/> during copy and paste process? I have some content from html, which I usually copy from the browser to oXygen in Author mode for further cleaning. Hopefully there is a way to convert these <br/> elements to <p/> elements because I have ...
by eloralon
Tue Jan 03, 2012 6:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: What the best way to add custom dtd to oXygen
Replies: 10
Views: 5680

Re: What the best way to add custom dtd to oXygen

Thanks Sorin,

It looks like I was mixing up the requests that I had between the DTD and title case conversion.

In any case, I would really appreciate if you can provide a sample stylesheet for that purpose, or at least if you have a link to a template somewhere.

Thanks for your help.

Loralon
by eloralon
Tue Jan 03, 2012 5:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: What the best way to add custom dtd to oXygen
Replies: 10
Views: 5680

Re: What the best way to add custom dtd to oXygen

Thanks a lot Sorin, I downloaded the plugin and it does exactly what I wanted. My trouble is that I have got a few thousands of words in different xml files to convert to title case and was thinking to do the the conversion in a batch mode. If you know of way to do it in batch mode please let me kno...
by eloralon
Fri Dec 30, 2011 5:23 pm
Forum: General XML Questions
Topic: How to convert word to Title Case
Replies: 1
Views: 2223

How to convert word to Title Case

Hello,

Using regular expression, I was wondering whether it is possible to search for words in caps inside tag like:

<head>SOME TEXT FOR HEADER</head>,

and replace them with with title case like:

<head>Some Text For Header</head>

Thank you.
by eloralon
Fri Dec 30, 2011 5:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: What the best way to add custom dtd to oXygen
Replies: 10
Views: 5680

What the best way to add custom dtd to oXygen

Hello,

I am new to DITA and oXygen, and have a set of DTDs that need to be added to oXygen. That will allow to create new topic or map based on the custom dtds.

I am just starting, so please bear with me and give a step-by-step instructions.

Thank you in advance for your help.
by eloralon
Fri Dec 30, 2011 5:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA XML elements with class attribute
Replies: 8
Views: 4664

DITA XML elements with class attribute

Hello, I have just started using oXygen for DITA content editing and was wondering how to make it generate by default all <p>, <li> or <i> elements with a class attribute like: <p class="- topic/p "> <li class="- topic/li "> and <i class="+ topic/ph hi-d/i "> . These attributes are used for further ...