|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Matchin elements in text nodes
In message <C22569DC.002AB75E.00@xxxxxxxxxxxxxxx>, mika.borner@xxxxxxxx writes >The "text()"-pattern doesn't return anything. > >Selecting with "." gives me also the unwanted article_id,main_heading and the >article_date. > >All I want to select is the direct text node under article (This is the article >text part , The article continues. This is part 2 of it) Think of it a different way: If you add a template which suppresses the element children of article, then only its text will be left: <xsl:template match="article/*"/> Richard Light. Richard Light SGML/XML and Museum Information Consultancy richard@xxxxxxxxxxxxxxxxx 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








