XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Posttop
Mohammad HusseinSubject: br element
Author: Mohammad Hussein
Date: 09 Apr 2009 08:18 AM
In the following part of HTML codes:
---->

<span class="article_body">

The balcony or the "head office" <url>vgb</url> as its known is not...<br clear="none"/>
<br clear="none"/>
Sometimes I suspect we are rivalled in our boisterous just like Spud's family, we all love one <xsl>file</xsl> another dearly...<br clear="none"/>
<br clear="none"/>
With the election drawing ever nearer, talk at Sunday lunch is dominated by politics. The split in the ANC has drawn firm and unwavering battle lines in my family. The differences in political allegiance cut across spousal and filial lines. Siblings are practically at one another's throats.<br clear="none"/>
<br clear="none"/>
Although our debates have always been rigorous and lively, they now border on screaming matches. We've now resorted to having a time keeper at the table who gives each speaker two minutes to make his or her point, to avoid turning the discussion into a downright farce.<br clear="none"/>
<br clear="none"/>
Thankfully, once the restive subject of ANC vs Cope is dropped, we happily move on to far less personal and rancorous yet just as fascinating topics such as: "Is Rihanna really getting back together with Chris Brown?&#226;&#8364;&#166;" <br clear="none"/>
<br clear="none"/>
It seems as if in my family though, we have so far remained relatively unscathed by the political fracas in the country compared with what is happening in certain other quarters.<br clear="none"/>
<br clear="none"/>
</span>

---------------------->

I want to separate the first data before the first br element to be
in description element like this:
<description>The balcony or the "head office" <url>vgb</url> as its known is not...</description>

and the same one in paragraph element:
<paragraph>The balcony or the "head office" <url>vgb</url> as its known is not...<paragraph>
and each data between br and br in paragraph element like this:

<paragraph>Sometimes I suspect we are rivalled in our boisterous just like Spud's family, we all love one <xsl>file</xsl> another dearly...<paragraph>
and so on.
Thanks

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.