Search found 87 matches

by msambasiva
Thu Apr 23, 2020 8:45 am
Forum: SDK-API, Frameworks - Document Types
Topic: Insert metadata into ditamap using SDK
Replies: 15
Views: 4062

Insert metadata into ditamap using SDK

Hi, XML Editor 21.0 We have a requirement to capture the user input and insert into ditamap. I've taken the sample of workspace access extension plugin as base and created a menu option(i.e Metadata Form) to open a Swing window form. Able to capture the userinput data some thing as below. public cla...
by msambasiva
Wed Apr 08, 2020 3:35 pm
Forum: XSLT and FOP
Topic: Transform xlsx to dita?
Replies: 3
Views: 2039

Re: Transform xlsx to dita?

Thanks Radu for quick response.
We need to convert the content of Excel file into multiple dita topics in batches. Could you suggest any clue on my requirement?
btw, I am not sure if it is intended, the two references from your previous reply pointing to the same plugin.

Regards,
Samba.
by msambasiva
Wed Apr 08, 2020 12:39 pm
Forum: XSLT and FOP
Topic: Transform xlsx to dita?
Replies: 3
Views: 2039

Transform xlsx to dita?

Hi, We have a requirement to convert xlsx file to dita content. We already fulfilled the similar requirement to convert xml to dita using XSLT. I've some thing in mind, Step 1) Convert xlsx to xml using java. Step 2) Convert xml to DITA using XSLT. I am looking for best option to automate the transf...
by msambasiva
Mon Dec 02, 2019 9:47 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5149

Re: Open Office XML for dita topic

Hi, When I open a dita topic from OXygen Editor 21 and try to configure a transformation, found below three scenarios, DITA PDF, DITA XHTML, DITA HTML5. Could you suggest the plugin name used for DITA PDF option? I want to check if I can extend the plugin used for DITA PDF in my custom plugin and wr...
by msambasiva
Fri Nov 15, 2019 1:01 pm
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

The issue got fixed. The changes for Template file needs to be updated in 'Modify Style' window when we right click on font. Otherwise the changes were not picking into the output.
Thanks,
Samba.
by msambasiva
Fri Nov 15, 2019 8:16 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

Thanks Radu for looking into the issue!
by msambasiva
Tue Nov 12, 2019 10:00 am
Forum: Other Issues
Topic: Customization of Normal.docx in com.elovirta.ooxml plugin
Replies: 1
Views: 1237

Customization of Normal.docx in com.elovirta.ooxml plugin

Hi, I am using Oxygen XML Editor 21.0 which is having DITA-OT 3.x. Some how, able to generate output without font changes even the template changes (font style: Arial Black & 20) are in place. Am I executing correct scenario (i.e DITA Map MS Office Word) to take effect of template changes from c...
by msambasiva
Mon Nov 11, 2019 10:52 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

Please find the attached screenshot of the Normal.txt with font style & size. Also please find the attached screenshot of output docx with default font style & size.
Please suggest if I want to generate output having custom font.

Image
image.png
image.png (57.6 KiB) Viewed 3100 times
by msambasiva
Mon Nov 11, 2019 7:00 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

Thanks Radu!. It's working. Able to invoke my custom plugin custom.xsl which is equivalent to com.elovirta.ooxml/docx/word/document.xsl. If you don't mind, could you suggest a solution for another issue described below. Copied Normal.docx file from default plugin com.elovirta.ooxml\resources to cust...
by msambasiva
Wed Nov 06, 2019 7:41 pm
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

Hi Radu, integrator.xml: -------------------- <target name="dita2docxOHC" depends="dita2docxOHC.init, dita2docx"/> <target name="dita2docxOHC.init"> <property name="document.xsl" location="${dita.plugin.uae.dita.docx.dir}/cfg/custom.xsl"/> </target> ...
by msambasiva
Wed Oct 30, 2019 8:16 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Re: Extending com.elovirta.ooxml plugin

Thanks Radu!
by msambasiva
Wed Oct 30, 2019 8:16 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5149

Re: Open Office XML for dita topic

Hi Radu,

Thank you so much for raising an issue for me. Extending an existing plugin com.elovirta.ooxml might not help in converting DITA topic to docx. May I expect ETA on this issue?

Thanks,
Samba.
by msambasiva
Tue Oct 29, 2019 9:24 am
Forum: Other Issues
Topic: Extending com.elovirta.ooxml plugin
Replies: 9
Views: 3205

Extending com.elovirta.ooxml plugin

Hi, We are using XML Editor 21.0, build 2019022207. We have a requirement to enhance the draft print of a map to docx. Created a new plugin which extends 'com.elovirta.ooxml'. So far we are able to generate a docx file with default look and feel of guide. Now we need to provide a red font color to h...
by msambasiva
Tue Oct 29, 2019 8:56 am
Forum: Feature Request
Topic: Open Office XML for dita topic
Replies: 14
Views: 5149

Open Office XML for dita topic

Hi, We are using XML Editor 21.0, build 2019022207. We have a requirement to have a plugin to support draft print of dita topic to dox. As of now, we found plugin 'com.elovirta.ooxml' to draft print a map to Open Office XML docx. Please suggest if there is any workaround to draft print a topic to do...
by msambasiva
Thu Jun 06, 2019 1:11 pm
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 4360

Re: Remove multiline comments

Hi Radu,

The requirement is, Remove commented code (single line/Multi line ) and display the rest of content into table column each sql-statement content into one cell.

Can't we achieve this using XSLT 2.0 alone?

Thanks,
Samba.
by msambasiva
Thu Jun 06, 2019 10:14 am
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 4360

Re: Remove multiline comments

Thanks Radu! Can you suggest a way to apply Regex on set of nodes at a time as the comments are spread across multiple lines? Ex: Comment starting at line <sql-statement>/* Commented for bug#22652320</sql-statement> and ending at another line <sql-statement> AP_LOOKUP_CODES ALC */ </sql-statement> A...
by msambasiva
Thu Jun 06, 2019 9:47 am
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 4360

Re: Remove multiline comments

Thanks Radu! I am looking for a way to update the content in the (XSLT) transformation process. My input is xml and output is a html. So I need to exclude the commented code from xml and present the rest of code into html. How to apply the Regex on the set of node values (sql-statement) and then ite...
by msambasiva
Tue Jun 04, 2019 9:17 am
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 4360

Re: Remove multiline comments

Those are sql comments but not xml comments. Those comments are part of xml content. While parsing xml using xslt, we need to exclude those comments and display the rest of the content. Ex: Below is the part of xml content having sql-statement child element of query. We need to display only first el...
by msambasiva
Tue May 21, 2019 2:05 pm
Forum: XSLT and FOP
Topic: Remove multiline comments
Replies: 8
Views: 4360

Remove multiline comments

Hi, We are using XSLT 2.0. We have a requirement to remove multiline comments before displaying the content from a xml. Need to exclude the '/* bug#22652320' and 'AND PH.TERMS_ID = AT.TERM_ID(+) */' from the below xml content in the output. Any clue would be great help. Thanks in advance, Samba. <qu...
by msambasiva
Fri Nov 09, 2018 10:26 am
Forum: XSLT and FOP
Topic: ANT + XSLT2.0 + Merge xmls
Replies: 4
Views: 2941

Re: ANT + XSLT2.0 + Merge xmls

I tried some thing below in my xsl file. Looks It's invoking xsl file three times. <xsl:template match="/"> <xsl:message> Current file is <xsl:value-of select="$filename"/> in directory <xsl:value-of select="$filedir"/></xsl:message> <xsl:variable name="inpath"...
by msambasiva
Fri Nov 09, 2018 10:03 am
Forum: XSLT and FOP
Topic: ANT + XSLT2.0 + Merge xmls
Replies: 4
Views: 2941

Re: ANT + XSLT2.0 + Merge xmls

Thanks for your reply. You are right. collection function allows to iterate all the files from a specific folder. But in my case, the xmls are spread under different folders in temp folder. like temp/atf/test.xml temp/fnd/test.xml I am passing temp as base dir as shown below <xslt> tag. <xslt basedi...
by msambasiva
Tue Nov 06, 2018 2:13 pm
Forum: XSLT and FOP
Topic: ANT + XSLT2.0 + Merge xmls
Replies: 4
Views: 2941

ANT + XSLT2.0 + Merge xmls

Hi Apache Ant(TM) version 1.9.7 XSLT 2.0 We have two xmls in two different folders as below. We need to merge all the services into on xml as show in the expected xml. tmp/atf/test.xml, tmp/fnd/test.xml, tmp/fsm/test.xml tmp/atf/test.xml, ================= <serviceReference> <services> <chapterSumma...
by msambasiva
Wed Aug 29, 2018 1:36 pm
Forum: XSLT and FOP
Topic: XSLT 2.0 - Group by partial value of an attribute
Replies: 1
Views: 1837

XSLT 2.0 - Group by partial value of an attribute

Hi, We are using XSLT 2.0. We have a requirement to group the services based on product which is part of an attribute value. Below is the part of xml taken to brief you the requirement. In the below xml, there are three services. Two services are from commonWorkExecution prodcut. The expected output...
by msambasiva
Thu Jul 19, 2018 1:17 pm
Forum: XSLT and FOP
Topic: Ant + XSLT Debug
Replies: 6
Views: 3746

Re: Ant + XSLT Debug

HI, I have build process with invoking different xslts as below. Below is one of the xslt from ANT script <xslt in="${dita.temp.dir}${file.separator}dummy.map" out="${dita.temp.dir}${file.separator}merged${file.separator}Merged.xml" style="${dita.plugin.uae.dita.oer.dir}${fi...
by msambasiva
Tue Jul 17, 2018 10:10 am
Forum: XSLT and FOP
Topic: Ant + XSLT Debug
Replies: 6
Views: 3746

Re: Ant + XSLT Debug

Thanks for quick response!
Could you be more specific on the setting ' XSLT debugger along with manually setting in the XSLT transformation scenario'
We can use echo statements to log the info in the ANT script. But how can we change the debugger on the fly?
by msambasiva
Tue Jul 17, 2018 10:06 am
Forum: XSLT and FOP
Topic: Ant + XSLT Debug
Replies: 6
Views: 3746

Re: Ant + XSLT Debug

Thanks for quick response! As you said, we can use echo statements to log the information from ANT script. But I am not clear on " use our XSLT debugger along with manually setting in the XSLT transformation scenario ". How can we manually set XSLT Debuuger in the XSLT transformation scena...
by msambasiva
Tue Jul 17, 2018 7:31 am
Forum: XSLT and FOP
Topic: Ant + XSLT Debug
Replies: 6
Views: 3746

Ant + XSLT Debug

Hi, I've been assigned with XML to dita conversion tool. For that, I've given a try to write ANT script which in turn calling XSLTs. Everything is working fine. Now I want to debug the Ant script and XSLT in Oxygen XML editor in the same flow of execution. Some how I am able to debug XSLT but not AN...