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

Re: xsl transform issue

Subject: Re: xsl transform issue
From: dan sherman <h8_bsod@xxxxxxxxx>
Date: Wed, 23 Feb 2005 09:10:57 -0800 (PST)
dan sherman
How does this compare to xmlstarlet?

--- Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
wrote:

> 
> Not the answer you are looking for but, as far as
> Cocoon goes, using SAX 
> based transformers is probably a much better way of
> processing large 
> files (or any files actually, IMHO) as the pipeline
> is not interrupted 
> by building any in-memory representations and the
> stream is processed in 
> various pipeline steps at the same time (you can
> have data in the 
> serializer while still reading in the first step, at
> least in theory).
> 
> Manos
> 
> 
> dan sherman wrote:
> 
> >This does not work, I want test for the data field,
> >certain keys will be fall in ti the first part of
> the
> >choose, other will fall into the otherwise part.
> Maybe
> >someone can point me in the right direction.
> >
> >Thanks,
> >DJ
> >
> >
> >----------xsl below-----------------
> ><xsl:if test="name = 'NullSessionPipes'"> 
> >	<xsl:for-each select="./win-registry-data/data">
> >                       <xsl:choose>
> >                                      <xsl:when
> >test="./win-registry-data[@data] = 'netlogon'">
> >                                      
> ><td><xsl:value-of
> >select="./win-registry-data/data"/></td>
> >                                   </xsl:when>
> >	               <xsl:otherwise>
> ><td ><xsl:value-of
> >select="./win-registry-data/data"/></td>
> >                       </xsl:otherwise>
> >	               </xsl:choose>
> >	</xsl:for-each>
> ></xsl:if>
> >
> >
> >--------------xml below ----------------------
> >
> >           
>
><win-registry-key><name>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters</name><exists>true</exists>
> >               
>
><win-registry-value><name>NullSessionPipes</name><exists>true</exists><type>REG_MULTI_SZ</type>
> >                   
>
><win-registry-data><data>COMNAP</data></win-registry-data>
> >                   
>
><win-registry-data><data>COMNODE</data></win-registry-data>
> >                   
>
><win-registry-data><data>SQL\QUERY</data></win-registry-data>
> >                   
>
><win-registry-data><data>SPOOLSS</data></win-registry-data>
> >                   
>
><win-registry-data><data>netlogon</data></win-registry-data>
> >                   
>
><win-registry-data><data>lsarpc</data></win-registry-data>
> >                   
>
><win-registry-data><data>samr</data></win-registry-data>
> >                   
>
><win-registry-data><data>browser</data></win-registry-data>
> >                </win-registry-value>
> >            </win-registry-key>
> >
> >
> >
> >
> >
> >
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.