[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] __LINE__ equivalent in XSTL


Subject: Re: [xsl] __LINE__ equivalent in XSTL
From: Bartolomeo Nicolotti <bnicolotti@xxxxxxxxx>
Date: Fri, 02 Dec 2011 14:04:15 +0100

Hello,

yes, but we put the translated XML in a log in production env, and to
examine the log avoid the fime of re-doing the same ...

many thanks

Best regards

Bartolomeo

Il giorno ven, 02/12/2011 alle 07.56 -0500, Graydon ha scritto:
> On Fri, Dec 02, 2011 at 01:50:51PM +0100, Hermann Stamm-Wilbrandt scripsit:
> > As Ken said the XSLT processor can have line number information.
> > 
> > An XPath expression for a given stylesheet's nodes can be considered
> > as an equivalent of "line number".
> > 
> > Please see Oliver Becker's solution on getting trace output for XSLT:
> > http://www2.informatik.hu-berlin.de/~obecker/XSLT/#trace
> > 
> > 
> > Saxon extension "saxon:path" might be useful.
> > 
> > Or, if you do not use saxon, this posting of Dimitre on Dave's XSL FAQ:
> > http://www.dpawson.co.uk/xsl/sect2/N6077.html#d8281e21
> 
> Or use an XML IDE with debugger support during development, if this is a
> development requirement rather than a production one.  (oXygen certainly
> has a useful debugger; there are probably more.)
> 
> -- Graydon
> 

-- 
____________________________________________________________
Bartolomeo Nicolotti - Reparto Sviluppo - SIAP s.r.l.
Via Sant'Albano, 13 - 12049 TrinitC  (CN) Italy
Tel. (+39) 0172 652511 - Fax (+39) 0172 652519
E-mail: bnicolotti@xxxxxxxxx - URL: www.siapcn.it
Codice Fiscale, Partita IVA, Iscr. Reg. Imprese di Cuneo: 01871320048
Capitale Sociale: b, 99.000,00 i.v. - R.E.A. CN 141311
____________________________________________________________

Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque, destinate
esclusivamente alle persone o alla SocietC  sopraindicati. La
comunicazione, diffusione, distribuzione e/o copiatura del documento
trasmesso nonchC) qualsiasi forma di trattamento dei dati ivi contenuti
da parte di qualsiasi soggetto diverso dal destinatario C( proibita, sia
ai sensi dell'art. 616 c.p., che ai sensi del D. Lgs. n. 196/2003, ed in
ogni caso espressamente inibita. Se avete ricevuto questo messaggio per
errore, vi preghiamo di distruggerlo e di informarci immediatamente per
telefono allo 0172/652511 o inviando un messaggio all'indirizzo:
info@xxxxxxxxx
____________________________________________________________

This electronic mail transmission, including any accompanying documents
or attachments, may contain information that is confidential,
privileged, proprietary, or otherwise legally exempt from disclosure and
it's intended solely for the addressee(s).  Access to this Internet
electronic mail message by anyone else is unauthorized.  If you are not
the intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it is prohibited and
may be unlawful. If you have received this electronic mail erroneously,
we ask you to to destroy it and let us know immediately by phone
at 0172/652511 or by sending an e-mail at info@xxxxxxxxx 
____________________________________________________________


Current Thread