H!
I have two problems I really need your help with:
The first is:
If my xml file holds a list of nodes like this:
How can I use <xsl:if> (or some other way) to check the value of the <type> field and if it's value isn't "Private" to change the 'bgcolor' attribute from "blue" to "red"?
the second is:
If I have a DOM_Document variable (in c++) and want to take its entire content and insert it into another document, ow is this done?
I hope I get a response quickly, this stuff's urgent!
I have two problems I really need your help with:
The first is:
If my xml file holds a list of nodes like this:
Code:
<Message>
<text>Text of message comes here</text>
<type>Private</type>
<time>23050:11034</time>
</Message>
and in my xsl file I have the following:
<xsl:for-each select="Messages/Message"><tr bgcolor="blue">
<td><input type="checkbox" onClick="CheckIfAll();"></input></td>
<td> <xsl:value-of select="time"/></td>
<td> <xsl:value-of select="text"/></td>
</tr>
the second is:
If I have a DOM_Document variable (in c++) and want to take its entire content and insert it into another document, ow is this done?
I hope I get a response quickly, this stuff's urgent!