Hi,
I've been breaking my head over this one.
I have an XML file that looks like this:
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='style.xsl'?>
<DefaultPrinter>
<Device>WF-3520 Series(Netwerk) (from EXT_WR_FpwhQP4EDGGlt) in session 2,winspool,Ne00:</Device>
</DefaultPrinter>
We use it to export and import client mapped default printers across Citrix sessions. The problem is that there are 2 pieces of text that are unique for each new session: the client session name after "(from", in this example "EXT_WR_FpwhQP4EDGGlt"
and the session ID after "in session" , in this case "2"
I created an import script that provides me the current client session name and session ID. I need to find a way to replace the text in the XML file after "(from" and "in session"
with these new values.
Any help or guidance would be much appreciated!