[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re:   Tags in text content

Subject: Re:   Tags in text content
From: "rick@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Apr 2024 00:06:09 -0000
Re:   Tags  in text content
Martin, Thank you for the quick response. I will post some code tomorrow.
-Rick



From: Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 10, 2024 7:03 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Aw:  Tags in text content



Use the function parse-xml-fragment

--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.

Am 11.04.24, 00:53 schrieb "rick@xxxxxxxxxxxxxx <mailto:rick@xxxxxxxxxxxxxx> "
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx
<mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> >:

HI All,



I have some xml where there are btagsb embedded in the text content. I
need to convert these into regular elements. I havenbt done any coding yet,
but I want to see if there is a general approach that I should take before I
get started.



Here is a small example:



<?xml version="1.0" encoding="UTF-8"?>

<root>

    <p>&lt;em&gt;Business day&lt;/em&gt; means a calendar day.</p>

</root>



I need to end up with



<?xml version="1.0" encoding="UTF-8"?>

<root>

    <p><em>Business day</em> means a calendar day.</p>

</root>



Thank you.



Rick

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>

 <http://lists.mulberrytech.com/unsub/xsl-list/582271> EasyUnsubscribe (by
email)

XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>

 <http://lists.mulberrytech.com/unsub/xsl-list/612310> EasyUnsubscribe ( <> by
email)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.