Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.145.201.49
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby24 /
lib64 /
ruby /
2.4.0 /
rexml /
Delete
Unzip
Name
Size
Permission
Date
Action
dtd
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
formatters
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
light
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
parsers
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
validation
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
attlistdecl.rb
1.92
KB
-rw-r--r--
2020-03-31 11:42
attribute.rb
5.53
KB
-rw-r--r--
2020-03-31 11:42
cdata.rb
1.57
KB
-rw-r--r--
2020-03-31 11:42
child.rb
2.66
KB
-rw-r--r--
2020-03-31 11:42
comment.rb
2.1
KB
-rw-r--r--
2020-03-31 11:42
doctype.rb
6.61
KB
-rw-r--r--
2020-03-31 11:42
document.rb
9.51
KB
-rw-r--r--
2020-03-31 11:42
element.rb
44.37
KB
-rw-r--r--
2020-03-31 11:42
encoding.rb
1.16
KB
-rw-r--r--
2020-03-31 11:42
entity.rb
5.56
KB
-rw-r--r--
2020-03-31 11:42
functions.rb
11.9
KB
-rw-r--r--
2020-03-31 11:42
instruction.rb
2.04
KB
-rw-r--r--
2020-03-31 11:42
namespace.rb
1.12
KB
-rw-r--r--
2020-03-31 11:42
node.rb
2.16
KB
-rw-r--r--
2020-03-31 11:42
output.rb
550
B
-rw-r--r--
2020-03-31 11:42
parent.rb
4.27
KB
-rw-r--r--
2020-03-31 11:42
parseexception.rb
1.25
KB
-rw-r--r--
2020-03-31 11:42
quickpath.rb
9.12
KB
-rw-r--r--
2020-03-31 11:42
rexml.rb
1.32
KB
-rw-r--r--
2020-03-31 11:42
sax2listener.rb
3.61
KB
-rw-r--r--
2020-03-31 11:42
security.rb
824
B
-rw-r--r--
2020-03-31 11:42
source.rb
7.64
KB
-rw-r--r--
2020-03-31 11:42
streamlistener.rb
3.84
KB
-rw-r--r--
2020-03-31 11:42
syncenumerator.rb
716
B
-rw-r--r--
2020-03-31 11:42
text.rb
13.77
KB
-rw-r--r--
2020-03-31 11:42
undefinednamespaceexception.rb
241
B
-rw-r--r--
2020-03-31 11:42
xmldecl.rb
2.71
KB
-rw-r--r--
2020-03-31 11:42
xmltokens.rb
2.32
KB
-rw-r--r--
2020-03-31 11:42
xpath.rb
3.34
KB
-rw-r--r--
2020-03-31 11:42
xpath_parser.rb
20.44
KB
-rw-r--r--
2020-03-31 11:42
Save
Rename
# frozen_string_literal: false require "rexml/child" require "rexml/source" module REXML # Represents an XML Instruction; IE, <? ... ?> # TODO: Add parent arg (3rd arg) to constructor class Instruction < Child START = '<\?' STOP = '\?>' # target is the "name" of the Instruction; IE, the "tag" in <?tag ...?> # content is everything else. attr_accessor :target, :content # Constructs a new Instruction # @param target can be one of a number of things. If String, then # the target of this instruction is set to this. If an Instruction, # then the Instruction is shallowly cloned (target and content are # copied). If a Source, then the source is scanned and parsed for # an Instruction declaration. # @param content Must be either a String, or a Parent. Can only # be a Parent if the target argument is a Source. Otherwise, this # String is set as the content of this instruction. def initialize(target, content=nil) if target.kind_of? String super() @target = target @content = content elsif target.kind_of? Instruction super(content) @target = target.target @content = target.content end @content.strip! if @content end def clone Instruction.new self end # == DEPRECATED # See the rexml/formatters package # def write writer, indent=-1, transitive=false, ie_hack=false Kernel.warn( "#{self.class.name}.write is deprecated" ) indent(writer, indent) writer << START.sub(/\\/u, '') writer << @target writer << ' ' writer << @content writer << STOP.sub(/\\/u, '') end # @return true if other is an Instruction, and the content and target # of the other matches the target and content of this object. def ==( other ) other.kind_of? Instruction and other.target == @target and other.content == @content end def node_type :processing_instruction end def inspect "<?p-i #{target} ...?>" end end end