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

Extraction of HTML code from XML - problem

Subject: Extraction of HTML code from XML - problem
From: Angeshwar Deepak <angeshwar@xxxxxxxxx>
Date: Mon, 17 May 2004 00:34:12 -0700 (PDT)
html code in xml
Hi,

I have a xml file which has some html embedded inside.
The file is like this:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="bcel-fb3.xsl"?>
<BugCollection>

<BugInstance type="URF_UNREAD_FIELD" priority="2">
..........
..........
</BugInstance>

<BugInstance type="URF_UNREAD_FIELD" priority="2">
..........
..........
</BugInstance>

<SummaryHTML><![CDATA[<html>
<body>
<h1>

<center>Findbugs Summary Report</center>
</h1>

..........
..........
</body>
</html>

]]></SummaryHTML>
</BugCollection>


I want to extract the block of HTML code and make a
seperate HTML file and create some links of my own
inside the new HTML links.

But I do not want the format of the HTML file to be
changed i.e. the HTML content should be exactly the
same as its in xml(like a cut paste) but with user
defined links to specific words or strings 
in the HTML file. I have these string values in
another XSL file which I should compare with the newly
generated HTML file and then generate links.

How can this be done.

Is there a easy method like to extract continously
every string in a for loop from <html>tag to the
end</html> tag and simultaeneously check for the
occurence of the required string to which I have to
create a href link?

bye,
with regards,
Deepak.




	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

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.