XSL Value-of help
Posted: Fri Sep 21, 2007 2:31 am
I have a statement in my XSL sheet:
<xsl:value-of select="general/alert[id='12053']/desc"/>
It returns in the outputted file:
"10.10.10.24 resolves as hostname.domainname.com.<br/>"
I really only want:
"10.10.10.24 resolves as hostname.domainname.com."
Or even "hostname.domainname.com"
Any way to parse/select only that portion? hostname.domainname.com is a variable, obviously, and is different for each IP/host.
<xsl:value-of select="general/alert[id='12053']/desc"/>
It returns in the outputted file:
"10.10.10.24 resolves as hostname.domainname.com.<br/>"
I really only want:
"10.10.10.24 resolves as hostname.domainname.com."
Or even "hostname.domainname.com"
Any way to parse/select only that portion? hostname.domainname.com is a variable, obviously, and is different for each IP/host.