Search found 4 matches

by poroton
Thu Aug 16, 2018 4:30 pm
Forum: XSLT and FOP
Topic: Adress text of child code
Replies: 1
Views: 1717

Adress text of child code

Hi, I apply following template and want foo get filled with "bar1" or "bar2". How can I select the value of abc:foo? <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns...
by poroton
Tue Aug 14, 2018 9:27 am
Forum: XSLT and FOP
Topic: check values of 2 XPath-Expressions
Replies: 4
Views: 2546

Re: check values of 2 XPath-Expressions

This solves my question. Thank you for helping me. :)
by poroton
Fri Aug 10, 2018 10:58 am
Forum: XSLT and FOP
Topic: check values of 2 XPath-Expressions
Replies: 4
Views: 2546

Re: check values of 2 XPath-Expressions

I changed my example to following (working) problem case: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ab="http://ab.example.net/V1.0/Schema" exclude-result-prefixes="...
by poroton
Thu Aug 09, 2018 3:45 pm
Forum: XSLT and FOP
Topic: check values of 2 XPath-Expressions
Replies: 4
Views: 2546

check values of 2 XPath-Expressions

Hi,

I want to test if values of nodes are the same:

Code: Select all


<xsl:if test="'//ab:person1/ab:gender' and '//ab:person2/ab:gender' '">
Why isn't this working?