sounds like fun with namespaces. You might be able to use a wildcard, depends on your use case there. Here is a example http://www.aftergeek.com/2006/08/xmlsearch-xpath-and-xml-namespaces-in.html
DK On Mon, Aug 25, 2008 at 4:51 PM, Ajas Mohammed <[EMAIL PROTECTED]> wrote: > Hi, > > I have a working example of moving elements in an xml. I got it from web. > It works fine for an xml file like this. see code attached. > MovingXMLElement_test[1].cfm (*application/x-cfm*) > 54K<http://?ui=2&ik=3cc33cc420&view=att&th=11bfb9fc5dab42ec&attid=0.1>works > MovingXMLElement.cfm (*application/x-cfm*) > 7K<http://?ui=2&ik=3cc33cc420&view=att&th=11bfb9fc5dab42ec&attid=0.2>does not > work and I get this error > > Invalid CFML construct found on line 46 at column 19. > ColdFusion was looking at the following text: > > : > > The CFML compiler was processing: > > * a cfset tag beginning on line 46, column 2. > > The issue is that the xml I am working with has name prefix like this > <samlp:employee> > <saml:name>xyz</saml:name> > </samlp:employee> > > Any suggestions? Please dont mind the indentation of xml file, in the code > which is not working. > > > -- > <Ajas Mohammed /> > http://ajashadi.blogspot.com > We cannot become what we need to be, remaining what we are. > No matter what, find a way. Because thats what winners do. > You can't improve what you don't measure. > Quality is never an accident; it is always the result of high intention, > sincere effort, intelligent direction and skillful execution; it represents > the wise choice of many alternatives. > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
