[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: another xpath question

Subject: RE: another xpath question
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jan 2002 16:50:49 -0000
RE:  another xpath question

Thanks for all the help so far - truly the fastest support around :)

I have one final question, regarding Mike Kay's response:


>> Whereas the output I want is
>>
>> (xref)
>> Renew LP Piston Seal (Fig 5.5.1(xref))   //the (xref) will be
>> a graphic...
>
>Remove the call on <xsl:value-of>, and use the default template rule for
>text nodes, which outputs the text content of the node.


Is it possible to do this without using the default template rule? - on some
XML files there are hundreds of text nodes and just a few interesting ones.
I currently deal with them using:

<xsl:template match="text()"/>

As I understand it, the alternative to this is to create (empty) templates
for all the nodes that I dont want to appear.

It isnt actually a requirement that the xref graphic appears within the
fig(...) but if there is a way of doing it, then thats preferrable.

Many thanks

andrew


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.