Search found 2 matches

by Exselt
Sun Oct 12, 2014 5:58 pm
Forum: XSLT and FOP
Topic: How do I disable syntax check of XSLT and XPath?
Replies: 1
Views: 2433

How do I disable syntax check of XSLT and XPath?

I use XSLT 3.0 a lot and many syntax variants of the latest drafts are not supported by oXygen and/or by Saxon 9.5.x which is used for the syntax validation. The red curlies underneath just about every line when I use for instance maps or other unsupported features greatly distract from writing XSLT...
by Exselt
Sun Oct 12, 2014 5:53 pm
Forum: XSLT and FOP
Topic: How do I override a xml value in xslt?
Replies: 1
Views: 7160

Re: How do I override a xml value in xslt?

There are many ways in XSLT you can do this. My preference would be to use a modified identity template, where you match upon the text nodes and replace the values you want replaced. <!-- XSLT 3.0: copies everything, unless matched --> <xsl:mode on-no-match="shallow-copy" /> <!-- only matc...