[XML-SIG] can you tell me how to use stdin?
ÒÊÃÉɽÈË
dreamingpython at 163.com
Sun Jun 12 07:37:09 CEST 2005
In the PyXml module,there is an example like this:
from xml.dom.ext.reader.Sax2 import FromXmlStream
doc = FromXmlStream(sys.stdin)
>From the example the argument of FromXmlStream is sys.stdin,
but now i have a xml file namede "test.xml",how can i redirect the
stdin to the file?
For a long time,i have been confused about stdin , can you give me
an example ? Thanks a bounch.
More information about the XML-SIG
mailing list