|
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?
|
|
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
|
|
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...
|
|
guest |