已答复 ampersand character in DomainOUlist.xml

  • Wednesday, January 09, 2013 2:28 PM
     
     

    Hi MDT users,

    One of our OU's contains and ampersand, like P&O. I make use of the DomainOUList.xml.
    However, i googled for days, but i can't get the below string to work:

    <DomainOU>"OU=P&O,OU=testou,dc=domain,dc=local"</DomainOU>

    When using the above string, the arrow for expanding the OU list disappears.
    Anyone a solution?

    Thanks in advance.

All Replies

  • Wednesday, January 09, 2013 3:12 PM
     
     Answered Has Code

    Maybe if you use ascii codes it works...

    Try this:

    Instead of the & sign use &#038;

    <DomainOU>"OU=P&#038;O,OU=testou,dc=domain,dc=local"</DomainOU>


    • Edited by Samus-Aran Wednesday, January 09, 2013 3:13 PM
    • Edited by Samus-Aran Wednesday, January 09, 2013 3:26 PM
    • Marked As Answer by Roel_85 Wednesday, January 09, 2013 3:28 PM
    •  
  • Wednesday, January 09, 2013 3:29 PM
     
     

    This one worked! :) i was searching in a DS format instead of XML format.
    Thanks a lot!


    • Edited by Roel_85 Wednesday, January 09, 2013 3:29 PM
    •  
  • Wednesday, January 09, 2013 4:58 PM
     
     

    Ah Great!

    But who has ampersand in the the OU name anyway? ;)

    • Edited by Samus-Aran Wednesday, January 09, 2013 5:02 PM
    •