xsl-list
[Top] [All Lists]

Re: Add attributes Processed File

2004-12-02 13:12:21
Roger,

At 02:28 PM 12/2/2004, you wrote:
Is it possible to add attributes or some mark to the document been trosnformed to avoid to process the same node?
Is there a way to mark a node to avoid to process it again?

Not in a single processing pass, no.

In fact the whole idea runs against a basic design principle of XSLT, that it be "side-effect free". This is an aspect of the language that gives it a number of notable advantages; its down side is that you can't do precisely the thing you are asking about.

Why do you want to do this? Chances are good that XSLT provides you another way to accomplish your goal, and if not, splitting your process into more than one pass can also be done.

Regards,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>