This topic contains 2 replies, has 0 voices, and was last updated by wwinters 7 years, 1 month ago.

  • Author
    Posts
  • #18269

    wwinters

    Is anyone familiar with the xml Module in SS2.0? I need to set an attribute called ‘xml:lang’ and I’m not sure how to do it. just using setAttribute on the element fires an error because attributes starting with xml are reserved, I tried setAttributeNS, but the resulting xml sets xmlns=’xml’ lang=’en’ instead of what the client’s server expects, which is xml:lang=’en’

    Thanks!

    Wes
    This is a cached copy. Click here to see the original post.

  • #18270

    Veda

    hi Wes,

    pls see this link: https://netsuite.custhelp.com/app/an…il/a_id/43863/

    it has a sample script to set language. Pls let me know if this resolves your issue.

    thanks,

    Veda.

  • #18271

    wwinters

    Thanks Veda,

    That does not address my issue. The attribute is not ‘lang’, but ‘xml:lang’

    The receiving system requires the attribute be named ‘xml:lang’

    Best,

    Wes

You must be logged in to reply to this topic.