D
Dankwart Plattner
Hi,
I hope this is the right group for this question. If not, please point
me to right one.
Some days ago I dared to put my hands on xml for the first time.
I want to compare 2 string values:
1. |<xsl:value-of
select="substring-before(preceding-sibling::track[1]/title,$sepchar)"/>|<br></br>
2. |<xsl:value-of
select="substring-before(preceding-sibling::track[2]/title,$sepchar)"/>|<br></br>
3. <xsl:value-of
select="boolean(substring-before(preceding-sibling::track[1]/title,$sepchar)
=
substring-before(preceding-sibling::track[2]/title,$sepchar))"/><br></br>
4. <xsl:value-of
select="boolean(substring-before(preceding-sibling::track[2]/title,$sepchar)
=
substring-before(preceding-sibling::track[1]/title,$sepchar))"/><br></br>
where $sepchar is ":".
(1) results in |Konzert für Oboe und Orchester|
(2) results in ||
3. is true
4. is true
How could this possibly be?
Thanks for any answer in advance.
I hope this is the right group for this question. If not, please point
me to right one.
Some days ago I dared to put my hands on xml for the first time.
I want to compare 2 string values:
1. |<xsl:value-of
select="substring-before(preceding-sibling::track[1]/title,$sepchar)"/>|<br></br>
2. |<xsl:value-of
select="substring-before(preceding-sibling::track[2]/title,$sepchar)"/>|<br></br>
3. <xsl:value-of
select="boolean(substring-before(preceding-sibling::track[1]/title,$sepchar)
=
substring-before(preceding-sibling::track[2]/title,$sepchar))"/><br></br>
4. <xsl:value-of
select="boolean(substring-before(preceding-sibling::track[2]/title,$sepchar)
=
substring-before(preceding-sibling::track[1]/title,$sepchar))"/><br></br>
where $sepchar is ":".
(1) results in |Konzert für Oboe und Orchester|
(2) results in ||
3. is true
4. is true
How could this possibly be?
Thanks for any answer in advance.