Skip to main content

Query This XML File on Linux

Hands-On Lab


Photo of

Training Architect





You are working as a system administrator and have been tasked with querying an XML file using only the CLI (Command Line Interface). You can download the file using the following curl command:

curl -O -L

Using the Java-based BaseX client, you will need to query this file for the name of the user with an ID of 1, and find the ID of the user with the name Sue.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.