why is this nodelist excluding too many elements?
Fri, 12 May 2006 16:15:34 -0500
I have a template that tries to get a nodelist of the current and
previous elements of the same type as the current context. I need to
exclude some of these elements, which I attempt to do in the
predicate:
<xsl:template match="receipt">
<xsl:variable name="recNum" select="@recNum" />
<xsl:varia ...
|
Sorting problem - help!
12 May 2006 07:27:59 -0700
Hello everyone,
Please could you help me with what I'm sure you will find to be a
simple XSL transform.
I would like to sort my Document Elements withing the Catagory Element
on the DateAdded attribute (descending).
Source xml:
<?xml version="1.0" encoding="utf-8"?>
<Documents>
<Catagory id="A" P ...
|
filtering using multiple child nodes
Thu, 11 May 2006 08:18:02 -0700
the xml and xslt snippits follow...
I want to sum() on a node only when two sibling nodes contain a particular
value. This seems so easy but I am ready to scream.
*******xml************
<?xml version="1.0" encoding="utf-8" ?>
<PaymentFile>
<PaymentRecord>
<Status>Paid</Status>
<PayMethod>Savings ...
|
Unique-id
11 May 2006 07:52:04 -0700
I'm trying to get unique footnotes. The line of code I use is the
following:
<xsl:for-each select="Country/Indicator{@FootnoteKEY !=
''][@KEY=$lstIndicator][../@KEY=$lstCountry][generate-id() =
generate-id(key('unique-note',@FootnoteKEY)[1])]">
At the top of my xsl, I have the line:
<xsl:key name="unique- ...
|
Working with XSL and Timestamp
11 May 2006 06:29:44 -0700
hello everyone!
I have a XML with the following structure:
<actions>
<action name="AAA" value="18991" time="1.146843015469E12"/>
<action name="AAB" value="18992" time="1.146843015469E12"/>
<action name="AAC" value="18993" time="1.146843015469E12"/>
<action name="AAD" value="18994" time="1.14684 ...
|
Help with xslt!
Wed, 10 May 2006 23:04:52 -0500
Hi,
I have an aspx page that uses an xslt file to transform some xml. However, when I run the page I
get an IndexOutOfRangeException.
Why this happens is beyond me (for now). The xslt file itself contains no errors as I've corrected
them. I also checked the xml to see if it was structured properly; al ...
|
how to load a xml string to a node set...
Wed, 10 May 2006 15:26:01 -0700
Hi All,
I have a question about the load a xml string to a node set in order to
parse it.
Actually, when transformaing one XML doc (source) to another XML
doc(destination) in my XSLT program, it got one element in source XML doc
which contains a string content. This string content is a well-formed XML ...
|
|
|
Determine total with xslt when parameter is used
10 May 2006 01:52:44 -0700
I same problem as Felix Natter had in 2000 but cannot find an answer.
This is an exerpt from his topic:
<xsl:template match = "/">
<html>
<head><title>Trips</title></head>
<body>
<table>
<thead>
<tr><th>Destination</th><th>Distance</th></tr>
</thead>
...
|
xml to html
9 May 2006 15:25:57 -0700
I'm given an XML file such as the following:
<Classes>
<Class>
<Name> Biology </Name>
<Teach> TMen </Teach>
<TA> Johnson </TA>
<Student> Nancy </Student>
</Class>
<Class>
<Name> English </Name>
<Teach> Ryan </Teach>
...
|
Theoretical question about namespaces
9 May 2006 04:59:54 -0700
According to xslt specs it is an error when you produce xml element
which name has unknown prefix (i.e. no namespace is bound to that
prefix).
Well, let's imagine some legacy application (created before namespaces
were introduced) which uses xml in namespace-unaware fashion but uses
prefixed names. For exampl ...
|