Hi,
I have a template and I want to display the template
in a readble format through the stylesheet.
I have the following in xml:
<ObjectInstance name="InternetDevice">
<ObjectInstance name="Server">
<Parameter> <Name>Myvariable</Name>
<Value>true</Value>
</Parameter>
<tc:choose>
<tc:when
test="VAR(name=/my/version,defaultValue=14)>12">
<Parameter>
<Name>parameter2</Name>
<Value>30</Value> </Parameter>
</tc:when>
<tc:otherwise>
<Parameter>
<Name>parameter2</Name>
<Value>15</Value>
</Parameter>
</tc:otherwise>
</tc:choose>
</ObjectInstance>
</ObjectInstance>
and I want to display it as:
InternetDevice.Server
Myvariable true
when
{(test="VAR(name=/cpe/version,defaultValue=14)>12)
parameter2 30
}
otherwise
{
parameter2 15
}
I got the first part displaying InternetDevice and
Myvariable... my question is how do I
display the whole test condition in when(not the
result of test condition but the text for when
condition)
thanks,
Jhs
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--