[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Transforming XML Blockquotes - Mixed Content - XSL
Hi again Edward,
At 03:59 PM 4/20/2005, you wrote: It's not so much that I even want to use DOE, as I feel as if I am being pushed into it. It seems as if the alternative is either (1) the possibility of an overly complex solution, (2) living with bugs introduced by IE, (3) present the document text in a grammatically incorrect manner, or (4) change the source XML to a more IE friendly but logically incorrect format. Quite possibly the least, yes. But I hinted at a (5): use a more permissive structure in your output, such as <div>, with a @class qualifier if you like. It's may not appear as "correct" as blockquote from the semantic point of view, but then blockquote was never very well specified.... I dare say most blockquotes aren't block quotes at all. :-> I guess that's why I asked the question, because I am both [expletive deleted] that there is no easy solution for a common situation and, without the level of experience of others here, I feel unable to differentiate between the "evils" of the choices I am now faced with. That's fair enough. But that's also why we're here. Both to warn of possible pitfalls in the road ahead, and to help explain the complexities. BTW there won't be any thunderbolts from heaven if you decide to use d-o-e ... as we said, how bad it is likely to be is one of those things that Depends. How did the creators of XSL envision the handling of these nested block level elements? I don't know: you'd have to ask them yourself. In general I think they'd point to the line in the spec that limited XSLT 1.0's goals to down-conversions. (And indeed if you only had to spill the paragraph's contents, not group contiguous nodes within it based on the element type of their neighbors, you'd have no problem.) FWIW, you're not the only one with these headaches. Indeed, for some kinds of markup tasks (think: "overlap!") it's worse than just XSLT -- it's the whole "XML is really a tree" dogma (on which so many XML technologies are based). Tag-writing used to be much more prevalent and much more acceptable than it has become in the Age of Trees. Take a look at http://listserv.brown.edu/archives/cgi-bin/wa?A2=ind0502&L=tei-l&F=&S=&P=170 and the thread from whence it springs. Cheers, Wendell
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|