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

Selecting text between two tags

Subject: Selecting text between two tags
From: "Petar Tahchiev" <paranoiabla@xxxxxxxxx>
Date: Sun, 6 Aug 2006 14:25:45 +0300
get text between two tags
Hello everybody.

This is my first message to the list. :-)

Here is my problem: I have an html file that has a structure like this:
<html>
<body>
<h2>Description</h2>
<p>Blah-blah</p>
Some-more <p>-s and text
<h2>Parameters</h2>
<p>Some more text<p>
</body>
</html>

Now i want to make a xml file that has this structure:
<m:man>
<m:description>
<p>Blah-blah</p>
Some-more <p>-s and text
</m:description>
<some other> things
So my question is how to get the text between the first
<h2>description</h2> and the second <h2>parameters</h2> tag and place
it in the <m:description></m:description> tag

Thanks in advance.




-- Regards, Petar! Karlovo, Bulgaria.

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.