xsl-list
[Top] [All Lists]

Re: Node Order and Value determination

2004-02-04 15:05:59
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(_at_)texterity(_dot_)com
http://www.texterity.com/


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