Subject: Re: [xsl] How Can I Reference previous XML in Subsequent Iterations? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 18 Apr 2007 17:18:04 +0200 |
Folks,
First of all, it's great to see some ongoing discussion of XSLT. I've found it very, very difficult to get meaningful help as I come up to speed in XSLT. I have twenty-some years of C++ experience, and ten years of Web design, so I'm not having too much difficulty getting the concepts down.
However, the literature and online docs seem to be astoundingly chaotic. I always get dozens of Google hits when I make a query, and very few of them actually answer my question. I've never seen anything like this before.
Here's the question:
I'm starting a pretty ambitious XSLT project. I'm transforming Microsoft Excel XML files into inline XHTML for display on a wiki.
If anyone has seen the Excel schemas, they know that this is not a project for the faint of heart.
This means that, as I iterate through an XML file,
I need to yank out a @Style attribute, fetch a previous style declaration, and shoehorn that declaration into the current element's style attribute.
So, why do I need an expert opinion?
It seems, from my previous research, that there is no way for XSLT to store persistent information.
"Variables" are about as close as it comes, and I might be able to do it with them, but they are very, very stiff, primitive and awkward.
In any case, I may not have a choice,
I am using php:functionString callouts,
Any ideas?
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How Can I Reference previ, Nic James Ferrier | Thread | Re: [xsl] How Can I Reference previ, Chris M. |
Re: [xsl] How Can I Reference previ, Nic James Ferrier | Date | Re: [xsl] How Can I Reference previ, Chris M. |
Month |