We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If previous sibling contains same xmlns as current prefix does, the prefix will be dropped.
<omx xmlns:ct="automation.control"> <parameter xmlns="automation.control"/> <ct:socket name="Info" /> </omx>
nodes, _ := xmlquery.QueryAll(root, "//*") for _, node := range nodes { fmt.Println("Data:", node.Data, "Prefix:", node.Prefix, "Namespace:", node.NamespaceURI) }
gives Data: socket Prefix: Namespace: automation.control If I change to <parameter xmlns="automation.control_2"> everything is fine: Data: socket Prefix: ct Namespace: automation.control
Data: socket Prefix: Namespace: automation.control
<parameter xmlns="automation.control_2">
Data: socket Prefix: ct Namespace: automation.control
The text was updated successfully, but these errors were encountered:
fix antchfx#78
7ab2418
No branches or pull requests
If previous sibling contains same xmlns as current prefix does, the prefix will be dropped.
gives
Data: socket Prefix: Namespace: automation.control
If I change to
<parameter xmlns="automation.control_2">
everything is fine:Data: socket Prefix: ct Namespace: automation.control
The text was updated successfully, but these errors were encountered: