User Activity

  • Modified a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: <pts <table <rows <row p00="some_id" p01="some_1 value_1" <row p00="some_id_2" p01="some_2 value_2" <rows <table <pts I need to get value from attribute p01. I try this command: xmlstarlet sel -T -t -v "/pts/table/rows/row/@p01" file.xml. And get value i need, but all values split by whitespace like this: "some_1" "value_1" "some_2" "value_2" but i need it like this "some_1 value_1" "some_2 value_2".

  • Modified a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: pts table rows row p00="some_id" p01="some_1 value_1" row p00="some_id_2" p01="some_2 value_2" rows table pts I need to get value from attribute p01. I try this command: xmlstarlet sel -T -t -v "/pts/table/rows/row/@p01" file.xml. And get value i need, but all values split by whitespace like this: "some_1" "value_1" "some_2" "value_2" but i need it like this "some_1 value_1" "some_2 value_2".

  • Modified a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: pts table rows row p00="some_id" p01="some_1 value_1" row p00="some_id_2" p01="some_2 value_2" rows table pts I need to get value from attribute from attribute p01. I try this command: xmlstarlet sel -T -t -v "/pts/table/rows/row/@p01" file.xml. And get value i need, but all values split by whitespace like this: "some_1" "value_1" "some_2" "value_2" but i need it like this "some_1 value_1" "some_2 value_2".

  • Modified a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: pts table rows row p00="some_id" p01="some_1 value_1" row p00="some_id_2" p01="some_2 value_2" rows table pts I need to get value from attribute from attribute p01. I try this command: xmlstarlet sel -T -t -v "/pts/table/rows/row/@p01" file.xml. And get value i need, but all values split by whitespace like this: "some_1" "value_1" "some_2" "value_2" but i need it like this "some_1 value_1" "some_2 value_2".

  • Modified a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: <pts> </pts>

  • Posted a comment on discussion Help on XMLStarlet command line XML toolkit

    Hello everyone. I have xml document with structure like this: <pts> </pts>

View All

Personal Data

Username:
lassycomecelpme
Joined:
2023-05-19 11:27:48.142000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB