Hello,
Apologies inadvance for the 'XSL 101' nature of this question but I'm new to
XSL.
I receive XML from an automate conversion process, over which I have no
control.
Example:
<block >Text <font font-weight="bold">more text</font> more
text<sr/>more text. <hr/>more text <sr/>more text.</block>
The <sr/> elements can be ignored but the <hr/> element indicates that an
exisitng <P> element should be terminated and a new <P> element started.
From the above sample the output would be:
<P>Text <f>more text</f> more text more text. </P>
<P>more text more text</P>
Being from a sequential background I am finding it difficult to get started
on this. Should I group all the element in the <block> before and after the
<hr/> in separate variables or is there another way?
Thanks
Paul
Paul Clarke
digitalML Ltd.
www.digitalml.com
Office: +44 1344 886 351
Mobile: +44 7973 767 558
Confidentiality Notice: The information in this document and attachments is
confidential and may also be legally privileged. It is intended only for
the use of the named recipient. Internet communications are not secure and
therefore DigitalML Ltd. does not accept legal responsibility for the
contents of this message, If you are not the intended recipient, please
notify us immediately and then delete this document. Do not disclose the
contents of this document to any other person, nor take copies. Violation
of this notice may be unlawful. Copyright in this email remains with
digitalML Ltd.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--