how to print XML documents to the REPL console when using ConvertTo-Xml in Powershell?
问题 "almost" printing the elements to the console: PS /home/nicholas/flwor> PS /home/nicholas/flwor> $nodes = Select-Xml "/" $xml PS /home/nicholas/flwor> PS /home/nicholas/flwor> $nodes Node Path Pattern ---- ---- ------- #document InputStream / PS /home/nicholas/flwor> not quite sure how print the actual node values. for larger context,reading in a file and converting it to xml as: PS /home/nicholas/flwor> PS /home/nicholas/flwor> $xml=./bookstore.xml PS /home/nicholas/flwor> PS /home/nicholas