|
Subject: Re: Equivalent to __FILE__ and __LINE__ in C ? From: quintard.j@xxxxxxxxxx Date: Fri, 17 Nov 2000 09:39:24 +0100 (CET) |
As no one seems to have answered, I wanted to drop a suggestion.
On Tue, 31 Oct 2000, Hartmut Holzgraefe wrote:
> Date: Tue, 31 Oct 2000 12:23:49 +0100
> From: Hartmut Holzgraefe <hartmut@xxxxxx>
> Subject: Equivalent to __FILE__ and __LINE__ in C ?
>
> Is there any way to find out where in the XML source a node originaly
> started (something like the magic C preprocessor macros __FILE__ and
> __LINE__ )?
>
> .../...
> So is something like this possible right now?
> Or if not: would it be possible to implement it (i'd might even go
> for it myself if someone is willing to help me on the first steps)?
> Or is it a bad idea altogether because of some reason i am not able
> to see yet ... ?
Would it be possible to add the FILE and LINE as #FIXED attributes
to all elments ? Something like :
<refname FILE="__FILE__" LINE="__LINE__">.
I suppose it is possible to preprocess the XML file with cpp for example,
before the processing by openjade.
Would it work ?
Jany.
Any views or opinions expressed are solely those of the author
and do not necessarily represent those of IBM.
------------------------------------------------------------------------
Jany Quintard | Syntactic sugar causes the
IBM Paris Laboratory | cancer of the semi-colon.
Application & Integration Middleware Division | [Alan. J.Perlis]
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Attaching DSSSL to each element, Brandon Ibach | Thread | |
| Re: Attaching DSSSL to each element, Brandon Ibach | Date | |
| Month |