Search found 6 matches

by dsxsfs
Thu Dec 21, 2017 11:57 am
Forum: Common Problems
Topic: Is it possible to display inline documentation for custom XPath/XSLT functions?
Replies: 6
Views: 703

Re: Is it possible to display inline documentation for custom XPath/XSLT functions?

Hi Radu,

I tried adding an extra function to the XML file in the JAR, and that does seem to work.
But that's obviously far from convenient, so I'll either wait until the proposed fix is added, or find an alternative way of documenting my things.

Thanks.
by dsxsfs
Wed Dec 20, 2017 6:03 pm
Forum: Common Problems
Topic: Is it possible to display inline documentation for custom XPath/XSLT functions?
Replies: 6
Views: 703

Re: Is it possible to display inline documentation for custom XPath/XSLT functions?

Hi,

These would be simple xsl:function elements that I would put in an XSL file.

Are these .xml files located in a folder somewhere or would I need to dig in a java archive?

Thanks.
by dsxsfs
Mon Dec 18, 2017 12:32 pm
Forum: Common Problems
Topic: Is it possible to display inline documentation for custom XPath/XSLT functions?
Replies: 6
Views: 703

Is it possible to display inline documentation for custom XPath/XSLT functions?

When you enter a function from the standard XPath library in XSLT, a pop-up appears with syntax rules and a brief explanation. Where is this documentation coming from, and is it possible to add documentation for my custom functions?

Thanks.
by dsxsfs
Tue Dec 12, 2017 4:19 pm
Forum: Feature Request
Topic: Better XPath suggestions
Replies: 1
Views: 733

Better XPath suggestions

Hi, I've noticed that the context-aware XPath suggestions fail in following situations: - when adding boolean operators 'and' or 'or' in the expression, no context-specific suggestions are given after it. E.g. <xsl:if test="node/subnode or..."/> -> in this case, the auto-completion stops w...
by dsxsfs
Mon Feb 27, 2017 1:30 pm
Forum: XSLT and FOP
Topic: Refactoring attributes to inline
Replies: 2
Views: 924

Refactoring attributes to inline

Hi, I currently have: <td> <xsl:attribute name="width"> <xsl:text>15%</xsl:text> </xsl:attribute> <xsl:attribute name="align"> <xsl:text>left</xsl:text> </xsl:attribute> I'd like to refactor this to: <td width='15%' align='left'> Is this possible? Thanks.
by dsxsfs
Thu Jan 12, 2017 3:40 pm
Forum: XSLT and FOP
Topic: XSLT autocomplete
Replies: 1
Views: 755

XSLT autocomplete

Hi, I'm editing an XSL file which is linked with an XML file through a scenario. The autocomplete doesn't seem to work correctly. When I try to add an <xsl:for-each> or <xsl:value-of> element, the autocomplete will suggest the root element from the XML document, but no deeper elements when I hit the...

Go to advanced search