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

RE: searching string! Need your help

Subject: RE: searching string! Need your help
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Tue, 21 May 2002 22:03:05 -0700
searching string in xml file
The error says that "[t]he markup in the document preceding the root
element must be well-formed." There are three things that can precede
the root element of an XML document: the XML declaration, comments and
processing instructions. That certainly limits the possibilities.

[snip!]
Xml file looks something like this:

<<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type='text/xsl' href='../810_005.xsl'?>
<document id="12345">
  <TABLE >
      <TABLE_TITLE> Table Title </TABLE_TITLE>
          <ROWS>
              <cell X="0" Y="0"/>
              <cell X="0" Y="1">T<sub>1</sub>op</cell>
              <cell X="0" Y="2">T<sub>2</sub>el</cell>
          </ROWS>
  </TABLE>
</document>
[snip!]

If the XML file looks something like that, then I would say that the XML
declaration is not well-formed (two leading < characters).

If you are not familiar, the root element, a.k.a. the document element,
is the topmost element in the XML document, in this case the <document>
element.

Cheers,
Stuart


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.