Re: [Xmltask-users] loose xml parsing

2007-06-18 Thread Karr, David
This is what HTML Tidy is used for. The web site for JTidy, the Java API for HTML Tidy, as at http://jtidy.sourceforge.net/. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gandon, Sébastien Sent: Monday, June 18, 2007 8:45 AM

[Xmltask-users] Possible to use xmltask in a Maven1 maven.xml script?

2007-11-05 Thread Karr, David
I'm using Maven 1, and I'm trying to script some xmltask processing in a maven.xml script. Is there any way to iterate through a set of xpath results without using the "call" tag? This seems to require an Ant target, but it doesn't work if I just define the target in the maven.xml script, as it s

[Xmltask-users] Add text to web-app/description if it's present

2008-03-27 Thread Karr, David
It's been a while since I've xmltasked. I'm having some trouble getting done what I need. I have some text in a couple properties (I'm hardcoding the values for now) that I want to put into the "/web-app/description" element of a web.xml file. If the element is already present, I want to add the

Re: [Xmltask-users] Add text to web-app/description if it's present

2008-03-28 Thread Karr, David
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Brian Agnew > Sent: Friday, March 28, 2008 5:33 AM > To: Karr, David > Cc: [email protected] > Subject: Re: [Xmltask-users] Add text to web-app/descri

Re: [Xmltask-users] Add text to web-app/description if it's present

2008-03-28 Thread Karr, David
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Brian Agnew > Sent: Friday, March 28, 2008 5:33 AM > To: Karr, David > Cc: [email protected] > Subject: Re: [Xmltask-users] Add text to web-app/descri

Re: [Xmltask-users] Add text to web-app/description if it's present

2008-03-28 Thread Karr, David
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Brian Agnew > Sent: Friday, March 28, 2008 6:50 AM > To: Karr, David > Cc: [email protected] > Subject: Re: [Xmltask-users] Add text to web-app/descri

Re: [Xmltask-users] Add text to web-app/description if it's present

2008-03-28 Thread Karr, David
Yup, that part works. I had the syntax of "child::node" inccorrect before. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Brian Agnew > Sent: Friday, March 28, 2008 8:31 AM > To: Karr, David > Cc: xmltask-users@

Re: [Xmltask-users] Add text to web-app/description if it's present

2008-03-28 Thread Karr, David
rrent code: > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Brian Agnew > Sent: Friday, March 28, 2008 5:33 AM > To: Karr, David > Cc: xmlt

Re: [Xmltask-users] [Fwd: Re: Reading out an attribute]

2008-10-01 Thread Karr, David
Just to clarify one point of this, in an xpath test app that I wrote, if I run a query like this on a similar file, if I don't add a mapping for the "empty" prefix to the appropriate namespace, a query using the blank prefix fails with "Prefix must resolve to a namespace". It only works when I add

Re: [Xmltask-users] Attribute change issue when xmlns is present

2008-10-10 Thread Karr, David
The previous responder is correct, but just so it's clear, the nodes you specify in the xpath have to reference the namespace the elements are associated with, and since you're using the default namespace, you have to specify the empty prefix with just ":", which isn't the same as not specifying th

Re: [Xmltask-users] R: Attribute change issue when xmlns is present

2008-10-10 Thread Karr, David
Try replacing ":beans" with "/:beans". From: Verre Raffaele [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 8:12 AM To: Mark Coffin; [email protected] Subject: [Xmltask-users] R: Attribute change issue w