cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Geleyn <david_coc...@yahoo.co.uk>
Subject SourceWritingTransformer results in NullPointerException... My mistake?
Date Thu, 06 Nov 2003 21:14:12 GMT
Hi,

I'm trying to replace an attribute with the source
writing transformer and I can't get it done. I'm
trying something like:

<source:insert>
 <source:source>/users/jef/account.xml</source:source>
 <source:path>/account-info[1]</source:path>
 <source:replace>./@disabled</source:replace>
 <source:fragment>false</source:fragment>
</source:insert>

Whatever I try, when I want to replace an attribute, a
stack trace appears and a null pointer exception
occured. 

Do i do something wrong? 

Thanks!

David Geleyn.

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message