IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Column conditional processing Options · View
micky
Posted: Tuesday, March 5, 2013 7:33:12 AM
Rank: Advanced Member

Joined: 3/8/2011
Posts: 45
Hi,

I'm with Stylevision 2013 and I'm trying to use table column conditional processing. For HTML output it works fine, but for RTF and PDF condition is just ignored. Is conditional processing works only for HTML?
micky
Posted: Tuesday, March 5, 2013 3:08:37 PM
Rank: Advanced Member

Joined: 3/8/2011
Posts: 45
Okay,

My xpath expression in conditional processing was wrong so I have some progress, but there is still issue for RTF output.
Simplest scenario:

1. Create table with two columns, one row
2. First column has conditional processing with xpath expression: false()
First column should be hidden.

When using XSLT 1.0 - no problems for HTML and PDF. For RTF first column is not hidden.
When using XSLT 2.0 - no problems for HTML, RTF, PDF

I have to maintain both XSLT 1.0 and XSLT 2.0.
I guess it's a bug, but any advice is appreciated.

Thanks
vlad
Posted: Tuesday, March 5, 2013 9:33:18 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
I don't think it is a bug, more a limitation - XSLT 1 is just too limited to produce a proper RTF for every situation. You will find in documentation lots of places which document limitations when generating RTF with XSLT 1. Not sure about this particular though.

I can only suggest as for everybody else - XSLT2 standard exists since about 6 years now. It is time to forget the old good XSLT 1...
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.