[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming XML Blockquotes - Mixed Content - XSL
>> 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. > (Who provided that code? Can't remember now. > :-< ) That was bad old me, Wendell. I have since (though just recently) provided a corrected version of my solution. Edward: The mode attribute was taking advantage of XSLT's ability to apply templates only to templates identified as belonging to a certain mode. I generally use modes to process the source tree more than once. For example, when I produce PDF documents, I have templates (without modes) to produce the body of the file and templates with modes to produce the contents and bookmarks. In your case, I was just using the mode="unmix" templates to process the result tree fragment I had stored in that variable. In my corrected solution, I have removed both the variable and the mode (but now the solution involves two stylesheets). The two stylesheets can probably be reduced to one, but I ran out of gumption (to give Mike another word to ponder). Jay Bryant Bryant Communication Services (presently consulting at Synertistic Solution Technologies)
|
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
|