I have an XML file called TickerHoldingsForm.xml with the
following XML:
<Form xmlns="urn:QueryForm.xsd">
<Title>Ticker Holdings</Title>
</Form>
In my build file I'm trying to replace the current
Title with "Ticker Holdings Report"
Here it is:
<project name="test" default="deploy">
<target
name="deploy">
<xmlpoke
file="TickerHoldingsForm.xml"
xpath="/Form/Title"
value="Ticker
Holdings Report"/>
</target>
</project>
But I get the following error:
[xmlpoke] Attempting to load XML document in file
'F:\Pending\3-18-04\TickerHoldingsForm.xml'.
[xmlpoke] XML document in file
'F:\Pending\3-18-04\TickerHoldingsForm.xml' loaded successfully.
[xmlpoke] Selecting nodes with XPath _expression_ '/Form/Title'.
[xmlpoke] No matching nodes were found with XPath
_expression_ '/Form/Title'.
But when I take out the Form attribute it works fine.
Is this a bug with the xmlpoke?
Also, it only messes up with xmlns attributes, it works with
others...hmm....
Thanks,
Matt H.
Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
