473,327 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Problems parsing XML containing CDATA

Hello,

I have this xml file:

<?xml version="1.0" encoding="UTF-8"?>
<GetQuoteResponse>
<GetQuoteResult>
<![CDATA[
<StockQuotes>
<Stock>
<Symbol>MINI.MI</Symbol>
<Last>32320.000</Last>
<Date>N/A</Date>
<Time>N/A</Time>
<Change>0.000</Change>
<Open>0.000</Open>
<High>0.000</High>
<Low>0.000</Low>
<Volume>0</Volume>
<MktCap>N/A</MktCap>
<PreviousClose>32320.000</PreviousClose>
<PercentageChange>0.00%</PercentageChange>
<AnnRange>0.000 - 32480.000</AnnRange>
<Earns>N/A</Earns>
<P-E>N/A</P-E>
<Name>MINI FUT S&P/MIB</Name>
</Stock>
</StockQuotes>
]]>
</GetQuoteResult>
</GetQuoteResponse>

but I can not parse it into HTML with xsl because the xml contains CDATA elements. Could you suggest me a simple xsl file that parse this xml file into a simple html.
Thanks.
Jul 13 '07 #1
0 1267

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Richard | last post by:
www.geocities.com/r_bullis/test1.html At least this menu works in netscape. Disregarding the colors of the divisions. Those will be removed later. What I'm looking at doing is to have the...
4
by: sunil | last post by:
I am creating a XML document which opens fine in IE. Implies MSXML thinks it is a well formed document. But when I try to load this document in VB.net using the following code Dim doc As New...
1
by: Hang Cheng | last post by:
I've been trying to parse the following XML file with the .NET XMLTextReader: <?xml...
13
by: charliefortune | last post by:
I am fetching some product feeds with PHP like this $merch = substr($key,1); $feed = file_get_contents($_POST); $fp = fopen("./feeds/feed".$merch.".txt","w+"); fwrite ($fp,$feed); fclose...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.