|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: order of xsl template match
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. >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








