[xsl] XSL Javascript prob

Subject: [xsl] XSL Javascript prob
From: P Vikram <vikram_good_boy@xxxxxxxxx>
Date: Wed, 12 Sep 2001 17:47:41 -0700 (PDT)
Hi All

The following code adds 5 rows to a javascript
array.the fifth row being undefined.there is data for
4 rows only.


<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:output method="text" />
<xsl:template match="test">
	Test_Array = [
	<xsl:apply-templates select="//child"/>
	]
</xsl:template>

<xsl:template match="child">
	"<xsl:value-of select="ID"/>",
</xsl:template>
</xsl:stylesheet>

how to restrict the poplate the array with 4 rows of
ID data only.

Thanks in adv




--- Carl Sjogreen <carls@xxxxxxxxxxxxxxx> wrote:
> Check out www.stylusstudio.com.  Free 90-day
> evaluation is available from
> the website.
> 
> 	-Carl
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On
> Behalf Of Jorge Maestre
> > Sent: Wednesday, September 12, 2001 1:24 PM
> > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> > Subject: RE: [xsl] Fw: XSL-XML Editor
> >
> >
> > Try these:
> > - XMLSpy (www.xslspy.com)
> > - XSLerator
> (http://www.marrowsoft.com/Products.htm)
> >
> >
> > -----Original Message-----
> > From: Diego [mailto:diegoesp@xxxxxxxxxxxxx]
> > Sent: miércoles, 12 de septiembre de 2001 19:08
> > To: Lista XSL
> > Subject: [xsl] Fw: XSL-XML Editor
> >
> >
> > Hello, does someone know a good XSL/XML Editor?
> >
> > I cannot find a good one on the internet...
> >
> > -------------------------------------------
> > Diego
> >
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> >
> > This message and any files transmitted with it are
> confidential
> > and intended
> > solely for the use of the individual or entity to
> whom they are addressed.
> > No confidentiality or privilege is waived or lost
> by any wrong
> > transmission.
> > If you have received this message in error, please
> immediately destroy it
> > and kindly notify the sender by reply email.
> > You must not, directly or indirectly, use,
> disclose, distribute, print, or
> > copy any part of this message if you are not the
> intended recipient.
> > Opinions, conclusions and other information in
> this message that do not
> > relate to the official business of Newknow shall
> be understood as neither
> > given nor endorsed by it.
> >
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> >
> >
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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


Current Thread