[xsl] replace xml element

Subject: [xsl] replace xml element
From: "valerie liston" <valerie_liston@xxxxxxxxxxxxxx>
Date: Wed, 1 May 2002 01:26:58 -0700
I have a question about replacing xml elements. Here is the problem;
I want to output the content of the element <content> and replace the
element <break/> with the html tag <br/>. I know this is probably a very
basic question but I appreciate your help.
<item name="netinterfacedes" translation="Network Interface Description">

<par type="text">

<content>Intel Pro/100 VE Network connection<break/>10 Base-T and 100
Base-TX physical layer capabilities<break/>Remote wake on LAN
supported</content>

</par>

</item>

<xsl:value-of select="item/par/content"/>

Thanks



begin 666 InterScan_Disclaimer.txt
M3VUN:6)I;&ET>2!A=71O;6%T:6-A;&QY('-C86YS(&%L;"!I;F)O=6YD(&%N
M9"!O=71B;W5N9"!E+6UA:6P@871T86-H;65N=',N($AO=V5V97(L('=E(&UA
M>2!N;W0@8F4@86)L92!T;R!D971E8W0@;W(@<F5P86ER(&%L;"!V:7)U<V5S
M(&%N9"!V87)I86YT<RX@4&QE87-E(&)E(&%W87)E('1H870@=&AE<F4@:7,@
M82!R:7-K(&EN=F]L=F5D('=H96YE=F5R(&1O=VYL;V%D:6YG(&4M;6%I;"!A
M='1A8VAM96YT<R!T;R!Y;W5R(&-O;7!U=&5R(&]R('-E;F1I;F<@92UM86EL
9(&%T=&%C:&UE;G1S('1O(&]T:&5R<RX-"@  
end


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread