|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Beginner's question: The | doesn't work
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
|
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








