This project has moved. For the latest updates, please go here.

Hex display of values.

Topics: User Forum
Jan 16, 2012 at 3:51 PM

Is there a way to display "values" in hexadecimal? I have some 32-bit error flags defined in an enum and in the resulting Members table, a value of 0x80000000 shows up as 2147483648, which is a little difficult for the users of my help file to decode.

Jan 16, 2012 at 6:32 PM

There's probably a way to do it in XSL but I don't know of it off-hand.  You'd have to update the template in utilities_reference.xsl that outputs the enumerated values (<xsl:template match="element" mode="enumeration">, the second to last cell that selects the value).