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

Re: read/write in the same xml file

Subject: Re: read/write in the same xml file
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jun 2003 16:23:07 +0000
different noeud
right,
i give you an example for xml file
but my xml file is more convoluted, there is different noeud,tags,
reference to others doc
my xml file have the dicodoc DTD ,so it's more difficult with  this solution

Mike Haarman a écrit :

> From: <Jarno.Elovirta@xxxxxxxxx>
>
> abbouh wrote:
>
> > > this is an example for what i want to do:
> > >
> > > table of contents:
> > > paragraph1  12    32
> > > paragraph2  44  59
> > >
>
> >
> > Feels really silly to write stylesheets like this...
> >
>
> It should.  This is not a solution.  You've hardcoded an offset to accomodate
> the characters that make up the tags leading the first strings of content.  Any
> other leading markup will break the stylesheet.
>
> Abbouh, as Wendell pointed out, XSLT treats with nodes, not tags.  I suppose it
> possible that one could trick up the stylesheet to work with strings returned by
> local-name() to correct the offset, but I think it is fair to say that any
> solution using XSLT would be very brittle.
>
> hth,
>
> Mike
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


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.