|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] template matching everywhere
Hi,
I would like to write a template that match a particular element but this element could be located anywhere, my xml file may look like : <ROOT> <NODE> maybe some text here <TOBEMATCHED> </TOBEMATCHED> maybe some text here </NODE> <NODE> <SUBNODE> maybe some text here <TOBEMATCHED> </TOBEMATCHED> maybe some text here </SUBNODE> <SUBNODE> <SUBSUBNODE> maybe some text here <TOBEMATCHED> </TOBEMATCHED> maybe some text here </SUBSUBNODE> </SUBNODE> </NODE> </ROOT> I would like to write a template that allow me to automatically translate the TOBEMATCHED element while processing his parent. For example suppose you have to proceed an HTML document and you want to replace each <b> tag with an <em> tag and did other work on other it may help you understand what I want to do. I hope some one could help me THX JF XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








