wrong number format xml xsl
Sat, 8 Dec 2007 21:33:32 +0100
Hello i have the following problem.
I have a xml file where value 44.24688969 is in.
I want to be the format 22,24 therefore i use in dreamweaver the
format-number(value,'#,##.00') see codes.
When testing it i got the number 44.24188969 in the browser.
Can anyone solve my problem to get the result to 44.24
...
|
problem using document('') to read component XSL
Fri, 7 Dec 2007 07:24:01 -0800
I would like to define a variable in one component file and the bind variable
in another (all using xsl:include).
For example,
// Rule1.xsl
<xsl:include href="vars.xsl"/>
<xsl:template match="/" rule:ruleId="1">...</>
//vars.xsl
<xsl:variable name="rule" select="document('')//xsl:template/@rule:ruleId"/> ...
|
Escape XPath expression from string
Wed, 05 Dec 2007 15:43:43 +0100
Hi!
I would like to replace the following code fragment:
<xsl:variable name="icon2" select="normalize-space(@icons)" />
<xsl:element name="img">
<xsl:attribute name="src"><xsl:value-of select="/index/icon[@id =
$icon2]/@path" /></xsl:attribute>
</xsl:element>
with a shorter one, i.e. with ...
|
Access Web config from xsl
Wed, 5 Dec 2007 01:57:27 -0800 (PST)
Hi,
I am using a xsl document to transform xml into html.
I want to access the web.config file to retrieve a path for a file
that is stored in the appSettings.
Any suggestion on how to do that?
Thanks,
Victor ...
|
I need help with xsl-transformation
Wed, 5 Dec 2007 09:50:22 +0100
Hi
Can someone help me out as to how I can transform the following XML...
-----------
<Source>
One <AAA>Two <BBB>Three <CCC>Four</CCC></BBB></AAA>
</Destination>
-----------
into this...
-----------
<Destination>
One <DDD>Two <EEE>Three <FFF>Four</FFF>></EEE></DDD>
</Destination>
-----------
...
|
Extension object vs <msxsl:script>
Tue, 4 Dec 2007 17:52:15 -0800 (PST)
Hi,
I have a requirement where in I need to call some custom .Net method
from my XSLT. Just wanted to know which one performs better
1. Using extension objects
2. Using <msxsl:script> within xslt.
Any inputs with some code samples would be helpful.
Thanks,
Sampat. ...
|
round all nodes that contain a decimal to 2 d.p
Mon, 3 Dec 2007 13:52:45 -0800 (PST)
I would like some xslt that would iterate through each node of xml and
create an exact copy of the xml - except in the case where the node
contained a decimal where I would like it rounded to 2 places
NB: I don't know the names of nodes with decimals before hand !!!
so
-------------
<root>
<a>
<x>123 ...
|
|
|
Help needed with transform
Mon, 3 Dec 2007 20:21:04 -0000
Can someone help me out as to how I can transform the following XML...
<RecordsetData>
<Row>
<MyID>1</MyID>
<Value>10</Value>
</Row>
<Row>
<MyID>1</MyID>
<Value>20</Value>
</Row>
<Row>
<MyID>2</MyID>
<Value>15</Value>
</Row>
</Re ...
|
Re: DOWNLOAD CRACKED 2008's SOFTWARE: ARCHICAD 11,UNIGRAPHICS
NX5,SOLIDWORKS 2008,XSTEEL 13,AUTOCAD 2008
Mon, 3 Dec 2007 07:39:41 -0800 (PST)
please could you help out with autodesk impression crack ...
|
change website language dynamically using XML and XSL
Fri, 30 Nov 2007 21:37:27 -0800 (PST)
Hi.
I have the following problem. I want to apply different languages for
1 page, depending from a (by the user selected) parameter.
I have an index page (index.xml), which uses a xsl template. Let's
say, that the default language for this index page is english.. On the
page there are few flags with links to ...
|