Skip to main content

Questions tagged [filtering-xslt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
2 answers

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

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

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

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

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

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

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="" version="1....
Haniel Pulido Jr's user avatar
3 votes
2 answers

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

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

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

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