![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to import an XML Document? Topic Summary: Created On: 30-Apr-2008 11:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I would like to import a XML Document into Doors 8.3.
I already managed to get the data from file into a DOM_Document, but then i didn't found a way how to process every Element in the DOM Document. I have tried to get the DOM_Element from the DOM_Document with getDocumentElement, but this gives me always only one and the same result. Can some one point me to the right way to parse an XML Document in DXL? |
|
![]() |
|
![]() |
|
Attached is a function I've used to scan through an XML file reading out the elements. I guess its the 'for .. in .. do' that you need.
Paul. ------------------------- Paul dot Tiplady at TRW dot com TRW Automotive |
|
![]() |
|
![]() |
|
Yes, the if .. for .. in .. do functionality was what i had been looking for.
Thank you. Andreas. |
|
![]() |
|
![]() |
|
I would like to find an example of how i can initiate the process to read a XML file. Initiating DOM object, Opening DOM Element...
Someone has an example like that? Thanks JP |
|
![]() |
|
![]() |
|
JP
Take a look at Paul Tiplady's script on this thread ( it's near the bottom of the thread) https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=9550 ---------------- Gordon |
|
![]() |
|
![]() |
|
thanks Gordon it's exactly what i was looking for!!!
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How to import an XML Document?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.