Subject: Re: Beginner's question: The | doesn't work From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Sat, 6 Mar 1999 07:46:55 -0500 |
At 7:22 PM -0800 3/5/99, Rebecca Chan wrote: >The following is my code. I used | as $or$ but it always gave me an error, >"Error: Expected token '||' found 'NAME'. test1ID->|<-test2ID " > >If I replaced | with ||, I would get another error,"Error: Expected token >'eof' found '||' test1ID->||<-test2ID" > >Did I miss something important? > ><!----------------------- | is used here---------------------------> > <xsl:template select="test1ID | test2ID"> The | isn't the problem. The select is. It should be match. i.e. <xsl:template match="test1ID | test2ID"> +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML: Extensible Markup Language (IDG Books 1998) | | http://www.amazon.com/exec/obidos/ISBN=0764531999/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://sunsite.unc.edu/javafaq/ | | Read Cafe con Leche for XML News: http://sunsite.unc.edu/xml/ | +----------------------------------+---------------------------------+ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Beginner's question: The | doesn't , Rebecca Chan | Thread | RE: Beginner's question: The | does, Kay Michael |
Re: DCOM is now open code, Lars Marius Garshol | Date | Re: DCOM is now open code, Paul Prescod |
Month |