Re: Adding attributes to an XML element in JSTL

2004-05-24 Thread Murray Lang
L text from parameters), there are probably a number of different ways to slice it. Quoting Murray Lang <[EMAIL PROTECTED]>: > Anyway, it seems to me that if JSTL is inconsistent by not allowing the XML > to be modified. After all, the tag has a "target" attribute. If >

Re: Adding attributes to an XML element in JSTL

2004-05-23 Thread Murray Lang
handled (given the constraints of your environment). This thread has already generated some great feedback from Mark and Kris, and I'm sure we can milk even more interesting comments from it... -- Pierre Murray Lang wrote: Are you saying that if I want to get user input (from a ) into XML

Re: Adding attributes to an XML element in JSTL

2004-05-12 Thread Murray Lang
more and see how best your use-case should be handled (given the constraints of your environment). This thread has already generated some great feedback from Mark and Kris, and I'm sure we can milk even more interesting comments from it... -- Pierre Murray Lang wrote: Are you saying that i

Re: Adding attributes to an XML element in JSTL

2004-05-12 Thread Murray Lang
tion. If I understand you correctly, given that the only mapping that's not specified is 'node-set', you'd want the capability to force the mapping of an XPath node-set to be of a specific type, e.g. org.w3c.dom.NodeList. Correct? -- Pierre Murray Lang wrote:

Re: Adding attributes to an XML element in JSTL

2004-05-10 Thread Murray Lang
path, it will end up being a crippled version of cfml or even worse asp... Murray Lang wrote: Actually, what the Sun JSTL web page says is: "JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and

Re: Adding attributes to an XML element in JSTL

2004-05-09 Thread Murray Lang
d not really want to litter > your presentation layer with all sorts of business-logic: if jstl goes > down this path, it will end up being a crippled version of cfml or even > worse asp... > > Murray Lang wrote: > > Actually, what the Sun JSTL web page says is: > > > &g

Re: Adding attributes to an XML element in JSTL

2004-05-09 Thread Murray Lang
nctionality. There's no reason you can't write your own tag that will modify the XML dom. In fact, my earlier suggestion to use JXPath gives you most of the underlying implementation for manipulation... Cheers, Mark Murray Lang wrote: Actually, what the Sun JSTL web page says is: Any

Re: Adding attributes to an XML element in JSTL

2004-05-06 Thread Murray Lang
where you probibly shouldn't be placing such logic). http://jakarta.apache.org/commons/jxpath/ Good Luck -Mark Murray Lang wrote: Hi I've been using the XML tags in JSTL and found them very useful, however now I need to add an attribute to an XML element and have hit a brick wall. I'

Re: Adding attributes to an XML element in JSTL

2004-05-06 Thread Murray Lang
I thought of that, but it seems a messy way to do something very basic. I might resort to it though. At 08:12 PM 6/05/2004, you wrote: It sounds like you'd be better off using XSLT and the tag... Quoting Murray Lang <[EMAIL PROTECTED]>: > Hi > I've been using the XML tags

Adding attributes to an XML element in JSTL

2004-05-05 Thread Murray Lang
Hi I've been using the XML tags in JSTL and found them very useful, however now I need to add an attribute to an XML element and have hit a brick wall. I've tried using and EL, treating a DOM object as a bean, but the DOM interface is implementation-dependent and my implementation (xerces) doe