Joe Kesselman wrote:
> wrote:
>> <command>system(" $opt = <STDIN> ")</command>
>>
>> however putting <STDIN> is not allowed in XML..is there any other
>> alternatives?
>
> Use < and >, which are the standard XML representations for the
> < and > characters. (Or, of course, you can use numeric character
> references, < and > respectively.) If you read the file
> through any of the standard XML tools, those will be converted to the
> angle brackets automagically as part of the parsing process.
Could you please tell what the standard XML tools are (name) ? I am
particularly interested in have a "standard" commandline tools for
parsing and validating xml (and html/sgml as a bonus) on my linux
system, and also win32 wouldn't hurt, as I'm frequently using both. I
say command line because I can configure my editor to use it for
checking (it lets me set a path for any validators, compilers, parsers,
etc. Would be great if I could just check HTML and XML documents on the
fly like I can with, say, Perl or c.)
The reason I'm asking is doing a google search on google for XML parser
gave me many useless results, and it's rather hard to tell which one
realy does things right (conforming to standards.)
Thanks.
--
Stan