On 06.08.2006 19:28 Brian Agnew wrote

Hello Brian,

> a) <print> outputs the required buffer or subpath. The 'report'
> attribute forces the document to be dumped to standard output after
> every instruction. Hence using <print> and 'report' generates a lot of
> info and the behaviour you're seeing.
> 
> b) Although your paths look good, they're not matching anything. This is
> because your nodes are qualified by a namespace (your xhtml namespace). Try
> 
> /:html/:body/:p[1]/text()
> 
> and that will work. Note that 'failwithoutmatch' on the <xmltask> can
> get <xmltask> to break if paths don't match. Alternatively you can run
> ant with the -verbose option.
> 
> c) Although you're simply tweaking your document, <xmltask> doesn't know
> that (you could be performing massive surgery on your document) and
> won't preserve your DTD for the output document. You can request
> <xmltask> to do this by using the 'preserveType' attribute on the
> <xmltask> instruction.
> 
> Hope that's of use ?

Brilliant! What can I say more ?
Thanks a lot.

-- 
Bye, Andreas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to