XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] can i add node to node which is already having value

On 7/30/07, Seetha Rama Krishna <ram_kurra@yahoo.co.in> wrote:
> Hi Folks,
>                I want to know can i add node to node which is already having
> value.
> for example.
>  <person>
>                <name></name>
>                <age >27</age>
>   </person>
>                  I want to add the following two nodes to age
>     <min-age><max-age>
>
>                    Can you guys tell me how can i add these two nodes to age

Add them as attribute nodes eg

<age min-age="1" max-age="115">27</age>


-- 
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS