Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2004, 10:14 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML Parsing Problem when using MSXML

Hi,
I am having a provider that gives news as XML. Please see the xml below.

<StoryText>
<p lede="true">WE'VE been swamped with letters from readers trapped in "zombie" companies - insurance firms which have closed to new customers but linger on while their existing customers' savings plans run off.</p><p lede="true">Many have stopped paying bonuses and future returns are likely to be low as the managers will follow a minimum-risk policy to ensure they can meet any guaranteed benefits.</p><p>THANKS to my team of independent financial advisers John Cooper of Weston Financial Group, John Stewart of PMI and Rachel Twigg of Inter-Alliance Group.</p>
</StoryText>

My problem is that when i create a node and then try to access the text using

NodeValue = oReadStoryNode.selectSingleNode("StoryText").nodeT ypedValue

I get a text with the <p></p> tags removed. Is there any way to overcome this problem? This is hampering my work

 
Old December 9th, 2004, 01:56 PM
Authorized User
 
Join Date: Nov 2004
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to jkmyoung
Default

.nodeTypedValue -> .innerXML
should check the other forums you posted at before posting again...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in XML parsing denzil_cactus Perl 3 December 18th, 2008 03:56 PM
XML Application Development with MSXML 4.0 petercor Forum and Wrox.com Feedback 6 October 18th, 2004 08:12 PM
Book: XML Application Development with MSXML 4.0 dzmi XML 1 August 8th, 2004 05:45 PM
Apply sylesheet to XML using msxml (VB6) lpinho XSLT 3 January 22nd, 2004 09:54 AM
First contact with XML/Schema and MSXML lpinho XML 0 November 27th, 2003 09:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.