I don't know about the SourceWritingTransformer and its usage, but a NPE is never the users fault in general. If you can provide more info like a stack trace, it will be easier for us to investigate.

Joerg

David Geleyn wrote:
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.

-- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to