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

Re: joining parallel markup

  • To: "Oleg A. Paraschenko" <olpa@x...>
  • Subject: Re: joining parallel markup
  • From: "Peter Hunsberger" <peter.hunsberger@g...>
  • Date: Tue, 14 Mar 2006 08:49:53 -0600
  • Cc: xml-dev <xml-dev@l...>
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k70DJMtwHOQQ9YJD5MRVWiu2b/dG/ZKMKZYY7NoOxwXGgP9dNSFILVsGfvvgJAVgjx25zJ0SehWagi01ZDjHr093tEcyl4gsj3CjqfRORv6alWP2ykMUplpBSZwo0YLPscJgHoOHAEpHneSc3vjp2gigpRlbmFROdgOsEshqFMg=
  • In-reply-to: <20060314065722.1e9e795b.olpa@x...>
  • References: <20060314065722.1e9e795b.olpa@x...>

Re:  joining parallel markup
On 3/13/06, Oleg A. Paraschenko <olpa@x...> wrote:
>  Hello,
>
>  would you please suggest if there are libraries to join markup? For
> example, having two fragments
>
> <x><b>some dummy</b> text</x> and
> <x>some <i>dummy text</i></x>,
>
>  I'd like to get
>
> <x><b>some <i>dummy</i></b><i> text</i></x>,
>
>  or something like it.

If you look at what you are asking for in the most general case, I
believe the answer is not really: you want to to do generalized
merging of graphs (which is believed to be a  NP complete problem). 
If your domain is limited and common (eg. XHTML ) then you might get
lucky and find some existing tools.  Otherwise, I think you've got a
good use case for rolling your own with XSLT...

--
Peter Hunsberger

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.