Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij plugin for XSL-FO?

I am creating a few Apache FOP documents using velocity and XSLT templates and I find it very difficult to work with Intellij IDE because it doesn't give me hints of the allowed attributes for a node and marks as "error" all the nodes. Is there any plug-in I can use that solves this problem?

I have tried with the only one I have found online:

https://plugins.jetbrains.com/plugin/7736?pr=idea

But it doesn't seem to do much.

Any ideas?

enter image description here

like image 652
luanjot Avatar asked Jan 01 '26 05:01

luanjot


1 Answers

It seems, that you don't have properly set XML schema for namespace http://www.w3.org/1999/XSL/Format in the IDE. I had the same problem when I asked Idea to download missing schemas. Instead of downloading, the IntelliJ Idea created the empty one.

This helped me:

  1. Download XML schema for XSL:FO files (from Apache/FOP or RenderX).
  2. In the IntelliJ Idea associate URI http://www.w3.org/1999/XSL/Format to the downloaded file (Preferences -> Languages & Frameworks -> Schemas & DTDs).

Links:

  1. XML Schemas for XSL:FO
  2. IntelliJ Idea Help
like image 118
Kamil Tollinger Avatar answered Jan 06 '26 12:01

Kamil Tollinger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!