Subject: RE: [xsl] editing HTML inside <![CDATA[ From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Wed, 19 May 2004 10:46:39 -0500 |
Hi, I think you are trying to do a non-xml task with xml technologies - a bad idea. You should separate these two processing methods. I'd reccommend including the html like xhtml before proceding, or if that's not possible, modify your html before doing the xml processing. HTH, <prs/> -----Original Message----- From: Angeshwar Deepak [mailto:angeshwar@xxxxxxxxx] Sent: Wednesday, May 19, 2004 8:36 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] editing HTML inside <![CDATA[ Hi, I have the following html code inside a xml file <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="bcel-fb8.xsl"?> <BugCollection> <BugInstance> ..... </BugInstance> <SummaryHTML> <![CDATA[<html> <html> <body> ..... ..... </body> </html> ]]> </SummaryHTML> </BugCollection> My task is to extract the modify the html part inside the xml file by creating user defined links to some strings inside the html part. I tried the <xsl:value-of select="." disable-output-escaping="yes"/> but using this I can only get the raw html code into another html file but not able to access any nodes inside the html content. for example i have <center><h2><font color="green">xyz </font></h2></center> and i have convert this into <center><h2><font color="green"><a href="xyz.xml">xyz </a></font></h2></center> and generate a new html file with the new links all this in one single step using 1 xsl file. Is it possible to do so? how can it be done? with regards, Deepak. __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] editing HTML inside <![CD, Michael Kay | Thread | RE: [xsl] editing HTML inside <![CD, Daniel Joshua |
Re: [xsl] Is it possible to get "&n, David Carlisle | Date | RE: [xsl] Is it possible to get "&n, Steven Reddie |
Month |