OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: order of xsl template match

[ Lists Home | Date Index | Thread Index ]
  • From: "Thomas B. Passin" <tpassin@home.com>
  • To: xml-dev@lists.xml.org
  • Date: Sun, 19 Nov 2000 19:27:03 -0500

You told the stylesheet to look for a TEXTBOX first, and it
did just what you told it to do.  you could say

this will get whichever one appears, or you could ask for
the CHECKBOX element first.

Tom Passin

Matrix 01 asked -

> How can I make the output in the same order as the xml
> Here is the XML:
> <FORM>
> <TEXTBOX LABLE="NAME" SIZE="24" NAME="Name_Field"/>
> <FORM>
> The output for the example below would be:
> "There is a TEXTBOX here"
> "There is a CHECKBOX here"
> But the xml document had the CHECKBOX first.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS