Search found 105 matches
- by gbv34
- Tue Sep 06, 2022 1:13 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Insert metadata in the <head> for HTML5 files
- Replies: 4
- Views: 856
Re: Insert metadata in the <head> for HTML5 files
Hi Chris! Sorry for my late response and thanks a lot for your feedback. I'm still surprised that out-of-the-box any XHTML output doesn't include in the index.html the metadata declarations made in a topicmeta or bookmeta. I also noticed this behavior recently with change-histolrylist element and ot...
- by gbv34
- Tue Sep 06, 2022 12:47 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Automatically start a new transformation after another
- Replies: 2
- Views: 462
Re: Automatically start a new transformation after another
That is a pretty good question, Radu. Actually, I pushed content to a publishing delivery platform and I noticed extra processing was applied to the content after the DITA-OT processing. Typically, in my case, I've created a plugin that overrides the display of the title and adds additional metadata...
- by gbv34
- Tue Sep 06, 2022 11:24 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Automatically start a new transformation after another
- Replies: 2
- Views: 462
Automatically start a new transformation after another
Hello, I am currently in a situation where I need, first, to apply a normalized DITA transformation. Then, with the source created, automatically start a second transformation with the new generated map and applying an HTML5 transtype. Currently, my build.xml takes this form and I just would like to...
- by gbv34
- Wed Aug 31, 2022 9:53 pm
- Forum: XSLT and FOP
- Topic: Inconsistent table structure after applying an XSLT on title element
- Replies: 3
- Views: 1274
- by gbv34
- Wed Aug 31, 2022 9:51 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: How to transmit an attribute value from a topicref to a topic attribute
- Replies: 4
- Views: 769
Re: How to transmit an attribute value from a topicref to a topic attribute
Thanks Radu! That was very helpful and I succeeded in my task. I declared the following feature extensions in my plugin.xml <feature extension="dita.conductor.html5.param" file="buildHtml5Param.xml"/> <feature extension="dita.conductor.html5.toc.param" file="buildH...
- by gbv34
- Sun Aug 28, 2022 8:16 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: How to transmit an attribute value from a topicref to a topic attribute
- Replies: 4
- Views: 769
How to transmit an attribute value from a topicref to a topic attribute
Hello! I have topicrefs in a ditamap using outputclass with specific values. I'm trying to retrieve the value of the outputclass attribute and copy them within the referenced topics. Example with a chunked topic: <html lang="en"> <head> <meta http-equiv="Content-Type" content=&qu...
- by gbv34
- Sun Aug 28, 2022 11:23 am
- Forum: XSLT and FOP
- Topic: Can't match the topic/pre class
- Replies: 3
- Views: 1043
Re: Can't match the topic/pre class
Hi folks!
I succeeded in matching the class. I had to target the whole class with the + sign:
I succeeded in matching the class. I had to target the whole class with the + sign:
Code: Select all
<xsl:when test="@class, '+ topic/pre pr-d/codeblock '">
- by gbv34
- Sat Aug 27, 2022 4:50 pm
- Forum: XSLT and FOP
- Topic: Can't match the topic/pre class
- Replies: 3
- Views: 1043
Can't match the topic/pre class
Hello, everyone! I'm currently trying to write an XSLT that matches a specific outputclass value and depending on the class, I need to display a specific label beforehand. I rely on a temporary output from a DITA concept. Here is a short sample: <?xml version="1.0" encoding="utf-8&quo...
- by gbv34
- Sat Aug 13, 2022 10:51 pm
- Forum: XSLT and FOP
- Topic: Inconsistent table structure after applying an XSLT on title element
- Replies: 3
- Views: 1274
Inconsistent table structure after applying an XSLT on title element
Hello! I'm currently working on a plugin that replaces the values of outputclass attributes for different elements in a dita source. The XSLT itself works as expected when I test it solely, but once I integrate it in my plugin with a feature extension="dita.xsl.html5" and launch an HTML5 t...
- by gbv34
- Fri Aug 12, 2022 1:56 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Apply a transformation in the dita source
- Replies: 3
- Views: 794
Re: Apply a transformation in the dita source
Hi Julien! Thanks for your answer. That's exactly what I usually do for my plugins and in this case, I initially assumed the OT processing in the Saas server would provide the concatenated title to the publication. However, it seems their connector uses additional processing, among other things the ...
- by gbv34
- Thu Aug 11, 2022 12:43 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Apply a transformation in the dita source
- Replies: 3
- Views: 794
Apply a transformation in the dita source
Hello, I recently stumbled upon a difficulty where I wanted to modify the display of a title to concatenate it with a metadata value. I succeeded in doing it by using a template to override the HTML5 transformation, however it finally seems in my case that my publishing platform resolves the title o...
- by gbv34
- Thu Aug 11, 2022 12:34 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Generate the map title with additional metadata
- Replies: 1
- Views: 509
Re: Generate the map title with additional metadata
I eventually found that I could use the template gen-user-panel-title-pfx and succeeded in applying the modification in topic.xsl and map2htmltocImpl.xsl :) <xsl:template name="gen-user-panel-title-pfx"> <xsl:apply-templates select="." mode="gen-user-panel-title-pfx"/> ...
- by gbv34
- Wed Aug 10, 2022 6:29 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Generate the map title with additional metadata
- Replies: 1
- Views: 509
Generate the map title with additional metadata
Hello, everyone! I have a bookmap that includes plenty of information in its metadata. For instance, I have prodname or vrm version . In my situation, I would like to adapt the HTML5 output to concatenate the mainbooktitle with the prodname . I analyzed the map2html5-coverImpl.xsl in the plugin org....
- by gbv34
- Wed Aug 03, 2022 10:29 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Oh, yes, Radu, you are definitely right. However, the reason why I have been looking for this option is that I am forced to make the generation compatible with a script I have no control over. And as for the moment, before giving feedback to the developers who integrated the javascript function into...
- by gbv34
- Tue Aug 02, 2022 10:40 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Ok, I understand. Thanks for pointing that out. For now, I just changed the nature of the string in the utils xsl. I have a correct rendering of the attribute. Yet, I wonder if there's any way to remove the p attribute class as shown below: <p class=" p ft-expanding-block-link" data-target...
- by gbv34
- Mon Aug 01, 2022 5:04 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Ok, I'm back with a minor issue. I use the following xsl snippets to manage my custom attribute <!-- Set data-target-id only --> <xsl:template name="setdataTargetId"> <xsl:if test="@data-target-id"> <xsl:call-template name="setdataTargetIdattr"> <xsl:with-param name=&qu...
- by gbv34
- Mon Aug 01, 2022 3:35 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Plugin selects all references except a ditavalref
- Replies: 7
- Views: 888
Re: Plugin selects all references except a ditavalref
Your help is invaluable and I cannot thank you enough for your support.
I used preprocess2 instead of preprocess and applied my preprocess.branch-filter.skip property.
Everything runs perfectly
I used preprocess2 instead of preprocess and applied my preprocess.branch-filter.skip property.
Everything runs perfectly
- by gbv34
- Mon Aug 01, 2022 10:58 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Fantastic, Chris!
That solved the problem. Thank you
That solved the problem. Thank you
- by gbv34
- Sun Jul 31, 2022 3:13 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Sure!
Here it is attached.
I'm curious to see if you'd have the same behavior.
Here it is attached.
I'm curious to see if you'd have the same behavior.
- com.gbv.collapse.zip
- (9.3 KiB) Downloaded 254 times
- by gbv34
- Sun Jul 31, 2022 11:42 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Hi again! There's something I don't get though. When I apply the integrator.xml after my changes and check the dita2html-base.xsl file to see if the xsl override file is correctly imported, I noticed the xsl override wasn't precisely targeted. Here is how the path is inserted: <xsl:import xmlns:dita...
- by gbv34
- Sun Jul 31, 2022 10:27 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Re: Custom attribute not pushed in the XHTML map
Oh that's excellent! Thank you so much Chris for this workaround. I continued working on it yesterday and I understood that I needed to add an extension in my plugin.xml with <feature extension="dita.xsl.xhtml" value="./xsl/collapse.xsl"/> Then, I edited the dita2htmlImpl.xsl to ...
- by gbv34
- Sat Jul 30, 2022 5:39 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Plugin selects all references except a ditavalref
- Replies: 7
- Views: 888
Re: Plugin selects all references except a ditavalref
Hi Radu! Here is a quick update. I partially found out the reason for my problem. The situation occurred when I used the plugin online in a CCMS and I noticed that preprocessing with DITA-OT applied the filtering during the preprocessing and before the execution of the plugin that creates an archive...
- by gbv34
- Fri Jul 29, 2022 7:47 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Custom attribute not pushed in the XHTML map
- Replies: 12
- Views: 1452
Custom attribute not pushed in the XHTML map
Hello, I created a plugin to include a custom attribute in my topics. Concretely, I needed to add a data-target-id to a p element. My plugin and the associated dtd are now correctly recognized. image.png However, when publishing a test page, I noticed that the new attribute isn't processed in HTML. ...
- by gbv34
- Fri Jul 29, 2022 2:18 pm
- Forum: Common Problems
- Topic: Regex to match xrefs
- Replies: 6
- Views: 789
Re: Regex to match xrefs
This is an excellent tip, Chris! Thank you!
- by gbv34
- Fri Jul 29, 2022 1:11 pm
- Forum: Common Problems
- Topic: Regex to match xrefs
- Replies: 6
- Views: 789
Re: Regex to match xrefs
Problem solved!
I used this expression and I deactivated the XML search options.
Thanks for your help
I used this expression
Code: Select all
xref href="[^"]+.dita"\>
Thanks for your help
- by gbv34
- Fri Jul 29, 2022 11:45 am
- Forum: Common Problems
- Topic: Regex to match xrefs
- Replies: 6
- Views: 789
Re: Regex to match xrefs
Hi Radu
Thanks for your answer. Unselecting this option didn't help to retrieve the elements.
Even within a topic, it doesn't seem to work although I have one xref element under my eyes.
I'll continue looking if there are other options that could help.
Thanks for your answer. Unselecting this option didn't help to retrieve the elements.
Even within a topic, it doesn't seem to work although I have one xref element under my eyes.
I'll continue looking if there are other options that could help.
- image.png (190.38 KiB) Viewed 784 times
- by gbv34
- Fri Jul 29, 2022 10:17 am
- Forum: Common Problems
- Topic: Regex to match xrefs
- Replies: 6
- Views: 789
Regex to match xrefs
Hello, I use the following grep command to find xref elements, whatever their reference filenames are. grep -ri 'xref href="[^"]\+"/>' * This works well. However, when I want to use the expression solely in Oxygen, I don't get any results. xref href="[^"]\+"/> image.png...
- by gbv34
- Thu Jul 28, 2022 3:29 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Plugin selects all references except a ditavalref
- Replies: 7
- Views: 888
Re: Plugin selects all references except a ditavalref
Thank you, Radu.
Indeed, it worked well with your publication. I recreated the map for my project and it worked. I did a comparison between the two sources and didn't notice any difference. Strange but luckily it is solved
Indeed, it worked well with your publication. I recreated the map for my project and it worked. I did a comparison between the two sources and didn't notice any difference. Strange but luckily it is solved
- by gbv34
- Wed Jul 27, 2022 10:31 am
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Plugin selects all references except a ditavalref
- Replies: 7
- Views: 888
Re: Plugin selects all references except a ditavalref
Hi Radu, Indeed, I used an older version of the XSLT and updated it. However, you're right the ditaval should be included. Currently, my map references the ditaval, placed in a subfolder, with a ditavalref as its end: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC &q...
- by gbv34
- Tue Jul 26, 2022 4:23 pm
- Forum: DITA (Editing and Publishing DITA Content)
- Topic: Plugin selects all references except a ditavalref
- Replies: 7
- Views: 888
Plugin selects all references except a ditavalref
Hello, I'm currently working on a plugin based on the one created by Radu: https://github.com/oxygenxml/dita-export-map It works well, but I notice that if I include a ditavalref in my map, the exportmap won't include the ditaval file in the archive, and in my case it is really necessary. I think th...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service