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

Re: XSL and XML Help

Subject: Re: XSL and XML Help
From: Richard Lewis <richardlewis@xxxxxxxxxxxxxx>
Date: Fri, 13 Oct 2006 13:33:56 +0100
Re:  XSL and XML Help
On Friday 13 October 2006 13:07, Cho, Minho wrote:
> I have an XSL file that grabs objects to form a table from an XML file.
> However I only want it to grab certain objects with a certain tag on
> them.
> For example:
> XML file has:
> <?xml version="1.0" encoding="UTF-8"?>
> <infoObject>
> <infoObjectDetail title='Field'>Test Field</infoObjectDetail>
> <infoObjectDetail title='Description'>Test Desc</infoObjectDetail>
> <infoObjectDetail title='Object'>Test Object</infoObjectDetail>
> <infoObjectDetail title='Source'>Test Source</infoObjectDetail>
> </infoObject>

If you don't /need/ xsl:for-each, what about this:

<xsl:template match="infoObjectDetail[@title!='Description']">
  <!-- la la la -->
</xsl:template>

Cheers,
Richard
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
Sonic Arts Research Archive
http://www.sara.uea.ac.uk/
JID: ironchicken@xxxxxxxxxxxxxxx
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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.