RE: Tags to HTML page
> Whenever there is a <h3> tag I should surrond it with more tags > > <myowntag:bind path="someCode"> > <h3>Test Conversion</h3> > </myowntag> > > > Basically the input is a JSP and I need to add some Tag > libraries to it. > > What would be the best way to do it. > <xsl:template match="h3"> <myowntag:bind path="someCode"> <h3><xsl:apply-templates/></h3> </myowntag:bind> </xsl:template> Note that writing a stylesheet in terms of template rules corresponds exactly to the way you described the problem: "whenever there is an <h3> tag [you mean element] I should..." Michael Kay
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