[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

template matching everywhere

Subject: template matching everywhere
From: jf <j_f@xxxxxxxxxxx>
Date: Fri, 05 Mar 2004 00:06:56 +0100
template matching java
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.