Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing variable data to XML

Status
Not open for further replies.

Elysium

Programmer
Aug 7, 2002
212
US
The task:

I want to read in an XML file that contains instructions to format a label. No problem here, but where I'm stuck is making the XML file dynamic. If I have 10 labels to print, each with a different recipient, how do I structure the XML to know that the 'varRecipient' value in my VB code should be put in the <RECIPIENT> element in the XML doc?

I've seen a powerpoint that showed an example using the following:
Code:
<?template replace field="RECIPIENT" ?>

However, I can't find anything on the net that uses this command. Has anyone else dealt successfully with this?

Regards,

Randy
[afro]
 
Post your code

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top