Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

XML, adding booleans

Name: Anonymous 2010-01-27 22:50

Hay /prog/ I'm new to using XML, and it sucks.  But that's neither here nor there.  My question is, is there any way to add boolean values together in it?

For example, <xsl:value-of select="Some/Thing [@id = '7'] != '' + Some/Thing/Else !=''" /> to get a 2, 1 or 0.

Name: Anonymous 2010-01-27 23:34

If you made your DTD properly then it's a cinch.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List