AW: Can someone help me with this problem?
"Ramo At Skuff" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <001501c88397$e589c1d0$b09d4570$@de> |
Hi, i don't konw how to search "from" the element "formelement" the childs from "formelement", get this values, the cdata section, and write it as a ttribute into the parent element. Is there a hint? Greetings Ramo ||-----Ursprüngliche Nachricht----- ||Von: Grzegorz Kaczor [mailto:[email protected]] ||Gesendet: Dienstag, 11. März 2008 17:09 ||An: Ramo At Skuff ||Cc: [email protected] ||Betreff: Re: [jdom-interest] Can someone help me with this problem? || ||Well, just write code that will do it :). Yes, JDOM, is suitable. || ||Regards, ||GK || ||2008/3/10, Ramo At Skuff <[email protected]>: ||> Hi, ||> ||> i have the following Problem: ||> ||> this is a part of my xml file: ||> ||> <FormElement type="tx" character="text" id="tx_00_user" ||name="tx_00_user" ||> tabmember="UserName" mandat="y" size="20" > ||> <kindelement><![CDATA[ tmp(); ]]></kindelement> ||> </FormElement> ||> ||> >From this, i want to generate something like this: ||> ||> A snippet of html: ||> <input type="text" id="tx_00_user" name="tx_00_user" ||class="mandatory" ||> size="20" value=" tmp(); " /> ||> ||> ||> The result i get ist he following: ||> <input type="text" id="tx_00_user" name="tx_00_user" ||class="mandatory" ||> size="20" /> ||> ||> My problem ist to get the value attribute in it. Is it possible mit ||SAX/JDOM ||> to get this solved? ||> ||> I would be thankful for any help! ||> ||> Many thanks ||> Ramo ||> ||> ||> ||> _______________________________________________ ||> To control your jdom-interest membership: ||> http://www.jdom.org/mailman/options/jdom- ||interest/[email protected] ||> || || ||-- ||"Choć tyle wiemy własnym doświadczeniem: ||W nas jest Raj, Piekło - i do obu - szlaki." ||J.K. _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]