xsl-list
[Top] [All Lists]

Re: xsl transform issue

2005-02-24 18:52:07
For some reason it outputs this with the data that I
want. I do not understand why if win-registry/data is
the key I want but I select ".". Is it possible that
this happens because it is in a for-each loop?
 NullSessionPipestrueREG_MULTI_SZ 

Thanks for your input, it got me further than I was
before.

Dan Sherman
--- David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


anyway why would the value of select . output this
to 
me? 

output what?

inside
<xsl:for-each select="win-registry-data/data">
the current node is the data node, and (I think) you
want the value of
that node.  "." stands for the current node.

Why does it give me this piece?
NullSessionPipestrueREG_MULTI_SZ 

It doesn't, 

I wrote:
...
  <xsl:for-each select="win-registry-data/data">
  <td>
...
  </td>

so it generates a sequence of <td> elements.
so it won't generate a string with no markup.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by
Star. The
service is powered by MessageLabs. For more
information on a proactive
anti-virus service working around the clock, around
the globe, visit:
http://www.star.net.uk

________________________________________________________________________


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>