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

XML Problem

  • To: "XML DEV" <xml-dev@l...>
  • Subject: XML Problem
  • From: "Sebastian A." <sebi@x...>
  • Date: Sun, 30 Jun 2002 17:59:00 +0200
  • Importance: Normal

xml problems
Hello,

	I am having some problems parsing XML with PHP. Here is an example of my
problem:
Example 1:

<PAGE>
	<TAG1>
		SOME TEXT
	</TAG1>
</PAGE>

When I try to use the expat XML functions I cannot parse TAG1 in the above
example. I simply get nothing. However with the following example:
Example 2:
<PAGE>
	<TAG1>SOME TEXT</TAG1>
</PAGE>

I have absolutely no problems. I get the text in between TAG1 without any
problems. However I have some very long documents that I would like to
translate to XML and I cannot put the whole document on one line, as it
would be impossible to read. I have, however seen other XML files like
example 1 that were parsed fine, AND they were parsed with the expat
functions. I cannot figure how though. Any help would be appreciated.


Thanks in Advance



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.