S
scottc
I'm painfully new to XML, so please bare with me. I'm trying to create
an xml document that contains multiple layers. For example,
<root>
<level1>
<name></name>
<id></id>
<primary>
<name></name>
<id></id>
</primary>
</level1>
</root>
Initially, I tried to create the xml document and load it, but it
doesn't work. This seems like it would be easier than trying to create
the xml document in code.
I'm creating my xml object in the global.asa file as follows:
<object runat="server" scope="session" id="XMLObject"
progid="Microsoft.XMLDOM"></object>
This works and allows me to create the xml document within the code.
But, if I try to load the xml document into this object it fails:
xmlobject.load("mydoc.xml")
I have the mydoc.xml document in the same location as the asp file that
I'm running (i.e. wwwroot).
I'm pretty lost and any suggestion would be greatly appreciated.
Thanks,
Scott.........
an xml document that contains multiple layers. For example,
<root>
<level1>
<name></name>
<id></id>
<primary>
<name></name>
<id></id>
</primary>
</level1>
</root>
Initially, I tried to create the xml document and load it, but it
doesn't work. This seems like it would be easier than trying to create
the xml document in code.
I'm creating my xml object in the global.asa file as follows:
<object runat="server" scope="session" id="XMLObject"
progid="Microsoft.XMLDOM"></object>
This works and allows me to create the xml document within the code.
But, if I try to load the xml document into this object it fails:
xmlobject.load("mydoc.xml")
I have the mydoc.xml document in the same location as the asp file that
I'm running (i.e. wwwroot).
I'm pretty lost and any suggestion would be greatly appreciated.
Thanks,
Scott.........