Re: [xml] xsl:copy and line breaks between attributes

On Wed, Jun 02, 2004 at 05:28:39PM +0200, Igor Zlatkovic wrote:
On 02.06.2004 11:27, Oliver Kiddle wrote:
sed wouldn't be powerful enough to make the edits and most of the logic
is already there in XSLT. My best hope is perhaps to try to make the
XSLT output the changes in the form of a sed script. Is it possible to
get at line numbers within XSLT? I'd assume xsltproc has them somewhere
for producing error messages?

xsltproc doesn't have them, libxml does. You could discover the line 
number from within a C program, but XSLT offers no means known to me for 
achieving this.

xsltproc --dumpextensions shows


might work...


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]