This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Replacing a nested tag with another tag


Hi,

What follows is a snippet of the incoming XML:

<Intro>
You are looking at
<Replace>
RequestNumber
</Replace>
Please click back to select another request number.
</Intro>

<RequestNumber>
AG-190
</RequestNumber>


I would like the output HTMLto be:

<p>
You are looking at AG-190. Please click back to select another request.
</p>

How can I implement the scenario above using XSLT?

The purpose here is to have static text in my XML file that has dynamic components that get retrieved  from other elements in the XML file.

Thanks in advance,

Anchal


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]