Inserting Nodes between Nodes
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 5
- Joined: Mon Jan 21, 2008 10:59 am
Inserting Nodes between Nodes
Post by cesarcesar »
Hi,
XML novice here with another question. I need to add a XML node like,
into this node between the ending </child01> and beginning <child01> of the
Does this make sense? I guess im looking for a way to say/do... make a new node with the following values and place it between these other two nodes.
I still am learning XML but i think this can be done.
XML novice here with another question. I need to add a XML node like,
Code: Select all
<child01>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
</child01>
Code: Select all
<child01>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
</child01>
<child01>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
</child01>
I still am learning XML but i think this can be done.
-
- Posts: 5
- Joined: Mon Jan 21, 2008 10:59 am
Post by cesarcesar »
woops sorry, my 2nd XML is wrong. here is the correct.
Code: Select all
<child01>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
</child01>
<child01>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
<child02>
<text></text>
<image>image 1</image>
<image>image 2</image>
</child02>
</child01>
-
- Posts: 5
- Joined: Mon Jan 21, 2008 10:59 am
Post by cesarcesar »
thanks for the XSLT info. I have heard of, but not looked into it. im really trying to accomplish this using PHP though. i guesses i could have added that to the post.
i DO plan to read up on XSLT though
i DO plan to read up on XSLT though
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service