lxml.etree._XSLTProcessingInstruction
Package lxml :: Module etree :: Class _XSLTProcessingInstruction
[hide private]
[frames] | no frames]

Class _XSLTProcessingInstruction

         object --+                
                  |                
           _Element --+            
                      |            
??.__ContentOnlyElement --+        
                          |        
     _ProcessingInstruction --+    
                              |    
                         PIBase --+
                                  |
                                 _XSLTProcessingInstruction

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(T, S, ...)
 
parseXSL(self, parser=None)
Try to parse the stylesheet referenced by this PI and return an ElementTree for it. If the stylesheet is embedded in the same document (referenced via xml:id), find and return an ElementTree for the stylesheet Element.
 
set(self, key, value)
Supports setting the 'href' pseudo-attribute in the text of the processing instruction.

Inherited from PIBase: __init__

Inherited from _ProcessingInstruction: __repr__, get

Inherited from unreachable.__ContentOnlyElement: __delitem__, __getitem__, __len__, __setitem__, append, insert, items, keys, values

Inherited from _Element: __contains__, __copy__, __deepcopy__, __iter__, __nonzero__, __reversed__, addnext, addprevious, clear, cssselect, extend, find, findall, findtext, getchildren, getiterator, getnext, getparent, getprevious, getroottree, index, iter, iterancestors, iterchildren, iterdescendants, iterfind, itersiblings, itertext, makeelement, remove, replace, xpath

Inherited from _Element (private): _init

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from _ProcessingInstruction: attrib, tag, target

Inherited from unreachable.__ContentOnlyElement: text

Inherited from _Element: base, nsmap, prefix, sourceline, tail

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

parseXSL(self, parser=None)

 

Try to parse the stylesheet referenced by this PI and return an ElementTree for it. If the stylesheet is embedded in the same document (referenced via xml:id), find and return an ElementTree for the stylesheet Element.

The optional parser keyword argument can be passed to specify the parser used to read from external stylesheet URLs.

set(self, key, value)

 
Supports setting the 'href' pseudo-attribute in the text of the processing instruction.
Overrides: _Element.set