[Top] [All Lists]

RE: XSL from XSL

2005-11-18 09:24:21
Fraser Goffin wrote:

Could anyone provide a simple example (if its possible) of
[say] just making an exact copy of the XSL input as output
just to get me started (and giving me a pointer to any
known gotcha's when I try to expand that example).

  The identity transformation is not very intresting in this
context.  It works as usual.  One point you have to carry
about is you can't create LRE because it will be treated as
XSLT instruction.  So you have to create output XSLT
elements like:

    <xsl:element name="xsl:value-of">
      <xsl:attribute name="select">select expr</xsl:attribute>

  What I use is a simple XSLT script I apply first to the
stylesheet, expanding elements of a personal namespace
(containing the same elements than the XSLT namespace), let
my write:

    <xfg_:value-of select="select expr"/>

  This simple script expand the later example in the former
(the underscore in the prefix is to visualy more distinguish
the two kinds of elements).



Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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>