|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Converting XML
On Dec 28, 2004, at 3:57 PM, tedd wrote:
> What's the easiest way to go from:
>
> <booktitle>Understanding XML</booktitle>
>
> and convert it to:
>
> <em class="booktitle">Understanding XML</em>
>
> Any ideas?
Learn XSLT. You'd just write a template like:
<xsl:template match="booktitle">
<em class="booktitle">
<xsl:apply-templates/>
</em>
</xsl:template>
Bruce
|
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








