Subject: Re: [xsl] Transforming XML Blockquotes - Mixed Content - XSLT 1.0 Solution From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 20 Apr 2005 16:47:58 -0400 |
From what I understood from the responses following last week's proposed solution is that it wouldn't work under XSL ver. 1. I just tried it again, and the error I get is "Reference to variable or parameter 'mixed' must evaluate to a node list."
Can you explain what this code is supposed to be doing? I did not understand the more complex xpath expressions you used or the "mode='unmix'" attrib.
Grouping is not something I am very familiar with because most of what I am working on has been straight display of a document text and has not involved much in the way this kind of manipulation. I read what I could find about grouping following your post but many of the explantions and examples I could find do not use it in the way you seemed to have.
I am still in disbelief that something as common as a blockquote was not accounted for when XSL was designed. I mean they knew XML would encourage get people to properly structure the data (as this is part of the point) and they knew that HTML/XHTML did not recognize block level elements inside one another. And yet, they crerated a transformation standard with no simple way to change one into the other. The result it seems is a "powerful" transformation standard that cannot easily transform something as simple as a high school term paper or a newspaper article.
I will continue to try to understand the more complex parts of XSl (that until now it seems I haven't had to use) and try to decifer your solution. While I understand that maybe the solution you offered will work and that I am just not doing something right, but it really souldn't be this complicated should it?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Transforming XML Blockquo, JBryant | Thread | Re: [xsl] Transforming XML Blockquo, JBryant |
Re: [xsl] Transforming XML Blockquo, JBryant | Date | Re: [xsl] conditional position(), Wendell Piez |
Month |