I need to calculate sum of product of elements
Thu, 13 Dec 2007 07:46:11 -0800 (PST)
Hi
I need to calculate the sum of the product of the first number element
(/csv/line/number[1]) and the last one (/csv/line/number[3])
i.e I need to write the xsl code that calculates
(1*3)+(4*6)+(7*9)+(10*12)
<csv>
<line>
<number>1</number>
<number>2</number>
<number>3</number>
...
|
Grouping by index ... Or something
Thu, 13 Dec 2007 04:04:25 -0800 (PST)
Hi,
I have a weird xml fromat that looks something like this (this is just
a snippet of course):
...
<Node1>
<Id>1</Id>
</Node1>
<Node1>
<Id>2</Id>
</Node1>
<Node2>
<Name>The first one</Name>
</Node2>
<Node2>
<Name>The second one</Name>
</Node2>
...
The thing is that the first node1 has a co ...
|
Adding values to a variable
Wed, 12 Dec 2007 10:15:14 -0800 (PST)
Hi
I am using XSL Version 2
I am trying to use this code to add a value (say 100) to the variable
summation
<xsl:variable name="summation">0</xsl:variable>
<xsl:template match="csv:csv">
<xsl:element name="csv:csv">
<xsl:for-each select="/csv:csv/csv:line">
<xsl:variable name=" summation " selec ...
|
why is count(xpath) != xpath[last()] ?
Wed, 12 Dec 2007 06:12:53 -0800 (PST)
While writing a template, I came across a situation in Microsoft's
evaluation of my XSLT where, for a given XPath expression, count() of
that nodeset was not equal to last() of that nodeset. I can't find
anything in my books, Jeni Tennison's e.g., that explains this
behavior. I've reduced the code to the follo ...
|
XSLT debugging in VS 2005
Tue, 11 Dec 2007 22:32:00 -0800
I'm using XSLT transformations in my application. I need to debug my XSLT
file. I'm using ExtensionObjects for my XSLT file. I have set debug parameter
to true in XSLTCompiledTransform class. i.e
XSLTCompiledTransform xct = new XSLTCompiledTransform(true)
When i press F11 in Transform method , i'm not able ...
|
Creating a dynamic element name from one of its children elements
Tue, 11 Dec 2007 19:18:49 -0800 (PST)
I want to set the name of an element to the value of one of its child
elements (the 'name' element) in a XSL stylesheet. See below.
<xsl:template match="ns:well">
<xsl:element name="{?????}">
<ns:name><xsl:value-of select="ns:name"/><ns:name>
<ns:wellType><xsl:value-of select= ...
|
[Announce] Stylus Studio 2008 Now Available
Tue, 11 Dec 2007 10:02:50 -0800 (PST)
[Announce] Dear microsoft.public.xsl,
Stylus Studio 2008 is now available for online purchase or free trial
download at: http://www.stylusstudio.com/xml_download.html
The new release adds new XQuery & Web Services tools, support for
MySQL, PostgreSQL, HL7 EDI, and Microsoft .NET Code Generation and
more.
...
|
|
|
?????M?f?U???U????
Tue, 11 Dec 2007 08:34:21 -0800
¹q62893103°Ý»ù©ÎµoªÅ¥Õ¹q¶l¥h 3d@humaneyes.com »ù³æ.
...
|
Xml2PDF 2007 v1.2 is released
Tue, 11 Dec 2007 05:39:27 -0800 (PST)
Xml2PDF Server 2007 v1.2 with the support of Custom XML in Word 2007
source and COM interface is released.
The major new features of Xml2PDF 2007 version 1.2 are:
Custom XML in Word 2007 source support
COM interface
Custom XML markup provides a facility for embedding customer-defined
semantics into the documen ...
|
How can I find out the current version and SP of MSXML under WinXP ?
09 Dec 2007 23:27:54 GMT
I assume on my current machine MSXML was previously installed.
But I don't know this for sure and if yes, which version and Service Pack.
How can I find the version out ?
Harry ...
|