Tag : fragment
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
Convert XML fragment using XSLT | Filip K | C# | Convert fragment using XSLT | Convert XML fragment using XSLT stylesheet to HTML and return the resulting string | December 15, 2008 |
|
Appending fragments to the DOM instead of every node. | iTony | JavaScript | fragment | July 21, 2008 | |
|
Assertion that a code fragment throws a particular exception (self-test utility, Python 3) | Dmitry Dvoinikov | python | Assertion that code fragment throws particular exception (self-test utility Python testing unittests |
The class presented in this recipe is useful when you are writing module self-tests and need to assert that a fragment of code throws a particular exception. |
June 14, 2008 |
|
Read XML fragment with XmlTextReader | Boris Capitanu | C# | Read fragment with XmlTextReader | Read from 'stream' an XML fragment describing an element using XmlTextReader | July 21, 2007 |
|
Saving [logging.] disk log fragment into separated file | Denis Barmenkov | python | Saving [logging.] disk fragment into separated file sysadmin |
Sometime I want extract part of disk-based log file, created by standard logging module) into separated file on disk. This recipe shows simple technique to acquire this. Sample: processing tasks in loop, so on exit I have few logs: on log per task. |
May 8, 2007 |

