Skip to main content

Questions tagged [filtering-xslt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
2 answers
166 views

Could i use xsl:include in my rtf xslt filter?

Can i use the <xsl:include url="some.xslt"/> tag in the rtf xslt format area in a schema, to always include the same xslt and only have to change it once instead of in all my templates? And if ...
Allard Buijen's user avatar
9 votes
5 answers
2k views

Rich Text - How to add in missing <p> tags?

We have an issue where our HTML/CSS requires RTF content to be wrapped in <p> tags in order for some design elements to work correctly. We had some code which added these in if the string did ...
Rob Stevenson-Leggett's user avatar
8 votes
2 answers
320 views

Rich Text Editor - Moving <span> outside of <a>

I have the following mark-up in a rich text field in Tridion: <a href="#" class="cta-button-secondary">My text</a> I have filtering XSLT on the field that transforms the mark-up into ...
John Askew's user avatar
6 votes
3 answers
431 views

Converting value of XhtmlField according to FilterXslt

I'm copying components between versions of essentially the same schema, of which the latter has a stricter XSLT attached to it's RTF field. The code (TOM.Net): value = ((TextField)oldField).Value; ...
esteewhy's user avatar
  • 509
4 votes
1 answer
1k views

Word/HTML cleanup XSLT for Rich Text Field example

Does anyone have a good, production proven XSLT for cleaning up pasted content in Rich Text Fields (Tridion 2013 SP1). I had a hunt around, could only find this one from Bart which may be good enough, ...
Will Price's user avatar
  • 16.4k
4 votes
2 answers
462 views

strip-space not working in XSLT 2013

I am using the code below to strip white spaces from my genereated XML, but it is giving me the following error: White space cannot be stripped from input documents that have already been loaded I ...
Vivek Chauhan's user avatar
3 votes
4 answers
6k views

Filtering XSLT replace is adding unwanted xmlns-attribute for one element

I'm using Tridion 2011 SP1 HR1 and have created a new schema with one RTF field and have applied the following filtering XSLT: <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1....
Haniel Pulido Jr's user avatar
3 votes
2 answers
382 views

Prevent <style> tags from being removed by RTF fields

When moving content from an existing CMS into Tridion, I have run across <style> blocks in the RTF fields which the Tridion RTF strips out. Is there a way to prevent this?
Travis's user avatar
  • 175
3 votes
3 answers
975 views

Tridion adds unwanted xmlns-attribute to new html tags in RTF filtering XSLT

I'm replacing links in a RTF with an iframe wrapped with a div. I'm using <element name="div"> to create new tags. This works fine. However, the XML rendered when i switch to the source tab ...
Xyslarda's user avatar
  • 115
2 votes
1 answer
99 views

Filtering XSLT in Tridion not evoking custom replacement string

I am trying to replace a particular string in the href attribute within a Tridion RTF source. I built the following XSLT and it works without issues, when I run locally but the replacement is not ...
Shiva's user avatar
  • 2,168
0 votes
3 answers
77 views

XSLT filtering : How to apply XSLT filtering for RTF field across all the schemas in one go

Using Web8.5, There is a requirement to do XSLT filtering for RTF field. I am able to apply xslt filtering in one schema for RTF field successfully. However, looking for an option to do it for all ...
Mohan Kushwaha's user avatar