[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Node Order and Value determination


Subject: Re: [xsl] Node Order and Value determination
From: scott gabelhart <swgabel@xxxxxxxxxxxx>
Date: Wed, 04 Feb 2004 17:35:55 -0500

Chris Loschen wrote:

At 04:37 PM 2/4/2004, you wrote:
Anyway based upon your examples I have attached my simplied xml, xsl, and required output.


xml file

<TABLE>
   <DPROW>
       <OBJECT>2</OBJECT>
   </DPROW>
</TABLE>
<TABLE>
      <DPROW>
       <OBJECT>1</OBJECT>
   </DPROW>
   <TABLE>
      <DPROW>
       <OBJECT>3</OBJECT>
        <OBJECT>4</OBJECT>
      </DPROW>
</TABLE>


Each of your examples here have been not well-formed. Note that your first TABLE ends after the first DPROW.
The second then begins, followed by a nested third, but there's only one more end TABLE tag. If that really
reflects your data, that's going to be a problem before any of the rest. Your input has to be well-formed: it's
not a question of nesting, but a question of the basic rules of XML.


Hope that helps!


--Chris


----------------------------------------------------------------------------------------

Texterity ~ Digital Delivery Made Simple
----------------------------------------------------------------------------------------


Chris Loschen, XML Developer
Texterity, Inc.
144 Turnpike Road
Southborough, MA 01772 USA
tel: +1.508.804.3033
fax: +1.508.804.3110
email: loschen@xxxxxxxxxxxxx
http://www.texterity.com/


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



Chris typo on my part. My mistake.

my xml input file should read as follows

<TABLE>
  <DPROW>
      <OBJECT>2</OBJECT>
  </DPROW>
</TABLE>
<TABLE>
     <DPROW>
      <OBJECT>1</OBJECT>
  </DPROW>
  <TABLE>
     <DPROW>
      <OBJECT>3</OBJECT>
       <OBJECT>4</OBJECT>
     </DPROW>
   </TABLE><- Closing table tag omitted in error.
</TABLE>

Also validating my complete xml file within xmlspy returns no validation errors.

I could send you in the body of this email my complete xml input file structure also.

Let me know.

- Scott

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



Current Thread
Keywords