[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: EXSL's dyn:evaluate() and XALAN vs. xsl:use-at
> >A simple example: Why not include an top-level element belonging to a > > non-xsl > >namespace and having the necessary attributes. Then you can just copy them. > > > > I thought about that but I don't think that this is an solution. Right! I > could dynamically > decide depending on a parameter to do something - in case of copy: copy some > xml to the > current position. But this won't fix my problem as I'm working with fo and I > need exactly > the behaviour of the use-attribute-sets parameter which creates attributes > from a XML-fragment. > > Now I thought about using call-template but it has the same limitation: The > name must be > qname :-/ Then you'll gradually find that the same effect can be achieved with xsl:apply-templates For details see: http://fxsl.sourceforge.net/articles/FuncProg/Functional%20Programming.html I really doubt that in this concrete case you really need so much power, as I have not seen your source xml document and do not know what the transformation must do. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|