Skip to content

value of the node could not be updated while using cdata features.  #6

@yanserah

Description

@yanserah

Hello all,
I' m using the latest version 2.1.1

if I use this statement to parse my xml message
l_xml_data = rapidxml.RapidXml(p_my_xml_message, from_file=False, cdata_key='#text', parse_cdata=True).first_node()

and then later one I do
start_location = l_xml_data.first_node('rail:locationCode')
start_location.value = "new value"

the value is not equals to "new value", but I still have the old value of that node.

instead while using
l_xml_data = rapidxml.RapidXml(p_my_xml_message).first_node()

and then I try to apply to same instruction as previous the value is updated with "new value"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions