[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: getting "Cannot create an attribute node (...) who
> <!-- make a copy of the attributes (a proxy for processing) and return them --> > <xsl:function name="mine:recopy"> Try <xsl:function name="mine:recopy" as="attribute()*"> I think whatbs happening is that, because your function doesnbt declare its return type, what itbs returning is wrapped in a document node and you canbt do that with attributes. As a general rule, declare the types of your parameters and what your functions and templates construct. Be seeing you, norm -- Norman Tovey-Walsh <ndw@xxxxxxxxxx> https://nwalsh.com/ > One of my most productive days was throwing away 1000 lines of > code.--Ken Thompson [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
|
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
|