|
next
|
Subject: RE: node-set extension Author: Ivan Pedruzzi Date: 21 Jun 2001 07:28 AM
|
Hi Drazen,
For Stylus Studio rtf are node-set, here is an example that Minollo
posted 2 weeks ago
.....using MSXML you would loop on all the a's doing:
Using Stylus Studio you do:
Hope this help
Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com
> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager]
> Sent: Thursday, June 21, 2001 7:09 AM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: node-set extension
>
>
> From: "Drazen Dotlic"
>
> I am well aware that node-set is not a standard XSLT
> function. However, because of the nature of (rather strange)
> data type "result tree fragment" (rtf from now), there is
> nothing I can do with the rtf. But if I can convert rtf into
> a nodeset... and normally I can. MS parser supports this, and
> almost any other parser out there. However, the stylus
> debugger does not seem to support this, which renders many
> (complex) XSLT files unusable for debugging. Playing with
> simple XSLT files is all nice and cool, but I have rather
> complex stylesheets that heavily use node-set extension. Is
> there a way to use this extension while debugging?
>
>
>
> To reply: mailto:stylus-studio-xslt.3132@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>
|
top
|
Subject: RE: node-set extension Author: Ivan Pedruzzi Date: 21 Jun 2001 09:15 AM
|
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C0FA33.DD525350
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
From: "Ivan Pedruzzi" ivan@exceloncorp.com
......using MSXML you would loop on all the a's doing:
Using Stylus Studio you do:
Hope this help
Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com
Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com
> -----Original Message-----
> From: stylus-studio-xslt Listmanager [mailto:listmanager]
> Sent: Thursday, June 21, 2001 9:13 AM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: RE: node-set extension
>
>
> From: "Drazen Dotlic"
>
> Only for some rtf this implicit conversion is done (the ones
> that are already a part of the stylesheet)... besides, I see
> no samples that you mention in your post (now I see why,
> html/xsl/xml code is stripped by this board)??
>
> Anyway, here's what I do (just a sample of real-life code)
> '
> name="blah"/>'
>
>
> where template "blah" outputs some "ha" nodes. Later on, when
> I want to reference "ha" nodes using "$example/ha" I get an
> error that $example is not a node-set (the debugger is
> right). So I definitely need an (semi-standard) "node-set"
> extension. Besides from this, I find stylus' debugger quite
> good (actually, I do not know of any other XSLT debugger out there).
>
>
>
> To reply: mailto:stylus-studio-xslt.3134@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>
------=_NextPart_000_000D_01C0FA33.DD525350
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
(!-- Converted from text/plain format -->
From: "Ivan Pedruzzi"
href="mailto:ivan@exceloncorp.com">ivan@exceloncorp.com
<xsl:variable name="var"> <a att="1"/> <a
att="2"/> <a att="3"/> </xsl:variable>
.....using MSXML you would loop on all the a's doing:
<xsl:for-each select="msxsl:node-set($var)/a">
Using Stylus Studio you do:
<xsl:for-each select="$var/a">
Hope this help
Ivan Pedruzzi
eXcelon Corporation
size=2>http://www.stylusstudio.com
Ivan Pedruzzi eXcelon Corporation
href="http://www.stylusstudio.com">http://www.stylusstudio.com <=BR>
>
-----Original Message----- > From: stylus-studio-xslt Listmanager =[
href="mailto:listmanager">mailto:listmanager] > Sent: =Thursday, June
21, 2001 9:13 AM > To: Recipients of 'stylus-studio-xslt'
suppressed > Subject: RE: node-set =extension > > > From:
"Drazen Dotlic" <drazen@teletrader.com> > > Only for =some rtf
this implicit conversion is done (the ones > that are already a =part of
the stylesheet)... besides, I see > no samples that you mention in =your
post (now I see why, > html/xsl/xml code is stripped by this
board)?? > > Anyway, here's what I do (just a sample of =real-life
code) > '<xsl:variable =name="example"><xsl:call-template >
name="blah"/></xsl:variable>' > > > where =template
"blah" outputs some "ha" nodes. Later on, when > I want to =reference "ha"
nodes using "$example/ha" I get an > error that $example is not a =node-set
(the debugger is > right). So I definitely need an (semi-standard) =
"node-set" > extension. Besides from this, I find stylus' debugger =
quite > good (actually, I do not know of any other XSLT debugger =out
there). > > > > To reply:
href="mailto:stylus-studio-xslt.3134@edn.exceloncorp.com">mailto:stylus=-studio-xslt.3134@edn.exceloncorp.com >
To start a new topic:
href="mailto:stylus-studio-xslt@edn.exceloncorp.com">mailto:stylus-stud=io-xslt@edn.exceloncorp.com >
To login:
href="http://edn.exceloncorp.com/~SSDN">http://edn.exceloncorp.com/~SSD=N > >
------=_NextPart_000_000D_01C0FA33.DD525350--
|
|
|
|