Re: Test if number
Thu, 11 Sep 2008 11:21:38 -0700
This got accidently sent.
I have the following:
<xsl:when test="substring(name(),1,4) = 'COMP' and substring(name(),6,1) =
'_'">
<xsl:value-of select="substring(name(),5,1)"/>
</xsl:when>
The problem is that in some cases the name could be COMPS_REV or COMPA_DEL -
where the 5th character i ...
|
Test if number
Thu, 11 Sep 2008 11:07:44 -0700
Is there a way to test if a value is a number?
I have the following:
...
|
Sort Issue After spawning new nodes
Wed, 10 Sep 2008 07:22:00 -0700
Hello, I have a dataset for which one column has a multivalue (semi-colon
delimited) text field. I have to break this out into unique rows (imagine
this being like an inner join on a look up table) so that the following:
<Row @item1="Label" @item2="aardvark;"/>
<Row @item1="Label" @item2="echidna;zebra;bear ...
|
can't get checkbox values using msxsl:script
Tue, 9 Sep 2008 11:32:57 -0700 (PDT)
How can I get values from named controls? I don't seem to have access
to anything on the page. When I use this stylesheet, I always get the
following error:
System.ArgumentException: Last Trace Point=[]. Object required
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http:// ...
|
xsl:script
Tue, 9 Sep 2008 10:19:57 +0530
refering
http://www.w3.org/TR/xslt11/#define-extension-functions
is xsl:script obsolete?
can it be used for extention functions in xslt.
something like this
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:Fun="http://mycompany.com/mynamespace">
<xsl:script impleme ...
|
how can I use javascript to set xsl:param?
Mon, 8 Sep 2008 21:04:12 -0700 (PDT)
I get a error ("GetCheckboxes() is an unknown XSLT function") when I
do this:
<xsl:param name="ProdIDs">
< script type="text/javascript" Language="JavaScript">
<![CDATA[
function GetCheckboxes(f)
{
for(var i = 0;i<f.Compare.length;i++)
{
if(f.Compare[i].checked)
{
tempArr[tempArr.length] = f.Compare[i].v ...
|
Not extracting data correctly
Mon, 8 Sep 2008 16:41:17 -0700
The following input xml looks like this:
<ns0:Root xmlns:ns0="http://Schemas.Input">
<Record>
<SubRecord Qualifier="AA">
<Data>Here is AA Data</Data>
</SubRecord>
<SubRecord Qualifier="ZZ">
<Data>Here is ZZ Data</Data>
</SubRecord>
</Record>
</ns0:Root>
I have the following xsl:
...
|
|
|
Wanted: Pointer to docs on Xinclude for Saxon XSLT command line tool
Sun, 7 Sep 2008 14:24:46 -0700
I've been google searching for "saxon XInclude" for XSLT. I get the
impression saxon supports xinclude, but it is confusing.
In the case of MSXML, I had to cut and paste about 20 lines of source code
from msdn to implement my own XSLT command line tool that would perform XSLT
with XInclude.
Is this the c ...
|
XPath for get value in this xml
Fri, 5 Sep 2008 19:46:01 -0700
Hi
I have the following xml, and I need the XPath expression to obtain de value
of "value" in
/configuration/activerecord/config type="GDR.Domain.GDRBO`1, GDR.Domain"/add
key="connection.connection_string"
<?xml version="1.0"?>
<configuration>
<activerecord isWeb="true">
<config type="GDR.Domain.G ...
|
transform XML to SQL by XSL
Thu, 4 Sep 2008 19:39:29 -0700 (PDT)
i have this xml here, and now i would like to use xsl to transform
into an Update sql statement like this:
Here is the XML document:
<Order ID="10248">
<OrderItem ProductID="11">
<QuantityIncrease>2</QuantityIncrease>
</OrderItem>
</Order>
Here is a bit i did:
<?xml version="1.0" e ...
|