[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev@l...
  • 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
select='FORM/CHECKBOX|FORM/TEXTBOX"

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
document?
>
> Here is the XML:
> <FORM>
> <CHECKBOX LABLE="CHECKBOX1" NAME="checkbox"
VALUE="radiobutton"/>
> <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.
>



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member