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 : 18.216.7.205
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby25 /
lib64 /
ruby /
2.5.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--
2021-04-05 11:46
attribute.rb
5.53
KB
-rw-r--r--
2021-04-05 11:46
cdata.rb
1.58
KB
-rw-r--r--
2021-04-05 11:46
child.rb
2.66
KB
-rw-r--r--
2021-04-05 11:46
comment.rb
2.12
KB
-rw-r--r--
2021-04-05 11:46
doctype.rb
7.64
KB
-rw-r--r--
2021-04-05 11:46
document.rb
9.51
KB
-rw-r--r--
2021-04-05 11:46
element.rb
44.38
KB
-rw-r--r--
2021-04-05 11:46
encoding.rb
1.16
KB
-rw-r--r--
2021-04-05 11:46
entity.rb
5.39
KB
-rw-r--r--
2021-04-05 11:46
functions.rb
11.9
KB
-rw-r--r--
2021-04-05 11:46
instruction.rb
2.05
KB
-rw-r--r--
2021-04-05 11:46
namespace.rb
1.12
KB
-rw-r--r--
2021-04-05 11:46
node.rb
2.17
KB
-rw-r--r--
2021-04-05 11:46
output.rb
550
B
-rw-r--r--
2021-04-05 11:46
parent.rb
4.27
KB
-rw-r--r--
2021-04-05 11:46
parseexception.rb
1.25
KB
-rw-r--r--
2021-04-05 11:46
quickpath.rb
9.12
KB
-rw-r--r--
2021-04-05 11:46
rexml.rb
1.32
KB
-rw-r--r--
2021-04-05 11:46
sax2listener.rb
3.61
KB
-rw-r--r--
2021-04-05 11:46
security.rb
824
B
-rw-r--r--
2021-04-05 11:46
source.rb
7.64
KB
-rw-r--r--
2021-04-05 11:46
streamlistener.rb
3.84
KB
-rw-r--r--
2021-04-05 11:46
syncenumerator.rb
716
B
-rw-r--r--
2021-04-05 11:46
text.rb
13.78
KB
-rw-r--r--
2021-04-05 11:46
undefinednamespaceexception.rb
241
B
-rw-r--r--
2021-04-05 11:46
xmldecl.rb
2.71
KB
-rw-r--r--
2021-04-05 11:46
xmltokens.rb
2.32
KB
-rw-r--r--
2021-04-05 11:46
xpath.rb
3.34
KB
-rw-r--r--
2021-04-05 11:46
xpath_parser.rb
20.44
KB
-rw-r--r--
2021-04-05 11:46
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", uplevel: 1) 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