Subject: Re: [xsl] Create an end element - possible? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 04 Oct 2010 11:40:59 -0400 |
> But, that is not how XSLT works - it generates elements. > You have two main choices here... > (1) write templates that will match the input where there is a common > ancestor of the <w:p> and </w:p> tags, so that you can generate a > complete element... or... > (2) use xsl:text with disable-output-escaping=yes and generate the > tags directly (this is fighting XSLT). as written - i use Option 2 now and it works
fighting XSLT
I want to use XSLT options and functions, but if the base is not a "real" XML, than i have to use "workarounds" to realize the project.
Sometimes a "workaround" is the only way to do it.
See a sample of the "XML" - which have the HTML info in the content.
In XSLT 1.0 I'm limited - if i have 2.0 it is much easier because i can transfer the content in new xml structures.
Enclose find a sample of the DATA content
<COL>
<DATA><SPAN STYLE= "font-weight: bold;text-align: center;" >VEREINBARUNG (VERTRAG)</SPAN><SPAN STYLE= "text-align: center;" ></DATA>
</COL>
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] Create an end element - p, [x] cross solution | Thread | Re: [xsl] Create an end element - p, [x] cross solution |
Re: [xsl] nested grouping problem, David Carlisle | Date | Re: [xsl] nested grouping problem, Terry Ofner |
Month |