- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前正在编写一个需要从XHTML文件中提取数据的应用程序。
该文件名为toon.xhtml,其格式如下:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/_layout/character/sheet.xsl"?><page globalSearch="1" lang="en_us" requestUrl="/character-sheet.xml">
<talentSpec group="1" icon="spell_holy_devotionaura" prim="Protection" treeOne="0" treeThree="14" treeTwo="57"/>
</talentSpecs>
<buffs/>
<debuffs/>
<pvp>
<lifetimehonorablekills value="4217"/>
<arenacurrency value="50"/>
</pvp>
<professions>
<skill id="755" key="jewelcrafting" max="450" name="Jewelcrafting" value="450"/>
<skill id="186" key="mining" max="450" name="Mining" value="450"/>
</professions>
<secondaryProfessions>
<skill id="185" key="cooking" max="450" name="Cooking" value="450"/>
<skill id="129" key="firstaid" max="450" name="First Aid" value="450"/>
<skill id="356" key="fishing" max="450" name="Fishing" value="450"/>
<skill id="762" key="riding" max="300" name="Riding" value="300"/>
</secondaryProfessions>
<characterBars>
<health effective="43249"/>
<secondBar casting="0" effective="5734" notCasting="21" type="m"/>
</characterBars>
<baseStats>
<strength attack="3454" base="173" block="86" effective="1737"/>
<agility armor="288" attack="-1" base="90" critHitPercent="6.03" effective="144"/>
<stamina base="223" effective="3622" health="36040" petBonus="-1"/>
<intellect base="98" critHitPercent="3.98" effective="108" mana="1340" petBonus="-1"/>
<spirit base="108" effective="118" healthRegen="21" manaRegen="20"/>
<armor base="29485" effective="31292" percent="67.26" petBonus="-1"/>
</baseStats>
<resistances>
<arcane petBonus="-1" value="0"/>
<fire petBonus="-1" value="0"/>
<frost petBonus="-1" value="0"/>
<holy petBonus="-1" value="0"/>
<nature petBonus="-1" value="0"/>
<shadow petBonus="-1" value="0"/>
</resistances>
<melee>
<mainHandDamage dps="531.9" max="964" min="738" percent="0" speed="1.60"/>
<offHandDamage dps="0.0" max="0" min="0" percent="0" speed="2.00"/>
<mainHandSpeed hastePercent="0.00" hasteRating="0" value="1.60"/>
<offHandSpeed hastePercent="0.00" hasteRating="0" value="2.00"/>
<power base="3694" effective="3694" increasedDps="263.0"/>
<hitRating increasedHitPercent="7.62" penetration="0" reducedArmorPercent="0.00" value="250"/>
<critChance percent="15.03" plusPercent="0.00" rating="0"/>
<expertise additional="4" percent="3.25" rating="36" value="13"/>
</melee>
<ranged>
<weaponSkill rating="0" value="0"/>
<damage dps="0.0" max="0" min="0" percent="0" speed="0.00"/>
<speed hastePercent="0.00" hasteRating="0" value="0.00"/>
<power base="134" effective="134" increasedDps="9.0" petAttack="-1.00" petSpell="-1.00"/>
<hitRating increasedHitPercent="7.62" penetration="0" reducedArmorPercent="0.00" value="250"/>
<critChance percent="15.03" plusPercent="0.00" rating="0"/>
</ranged>
<spell>
<bonusDamage>
<arcane value="1042"/>
<fire value="1042"/>
<frost value="1042"/>
<holy value="1042"/>
<nature value="1042"/>
<shadow value="1042"/>
<petBonus attack="-1" damage="-1" fromType=""/>
</bonusDamage>
<bonusHealing value="1042"/>
<hitRating increasedHitPercent="9.53" penetration="0" reducedResist="0" value="250"/>
<critChance rating="0">
<arcane percent="12.98"/>
<fire percent="12.98"/>
<frost percent="12.98"/>
<holy percent="12.98"/>
<nature percent="12.98"/>
<shadow percent="12.98"/>
</critChance>
<penetration value="0"/>
<manaRegen casting="0.00" notCasting="21.00"/>
<hasteRating hastePercent="0.00" hasteRating="0"/>
</spell>
<defenses>
<armor base="29485" effective="31292" percent="67.26" petBonus="-1"/>
<defense decreasePercent="6.48" increasePercent="6.48" plusDefense="162" rating="800" value="400.00"/>
<dodge increasePercent="18.08" percent="30.45" rating="818"/>
<parry increasePercent="9.81" percent="22.51" rating="444"/>
<block increasePercent="2.26" percent="13.74" rating="37"/>
<resilience damagePercent="0.00" hitPercent="0.00" value="0.00"/>
</defenses>
<items>
<item displayInfoId="64630" durability="100" gem0Id="41380" gem1Id="40119" gem2Id="0" gemIcon0="inv_jewelcrafting_shadowspirit_02" gemIcon1="inv_jewelcrafting_gem_42" icon="inv_helmet_154" id="50862" level="251" maxDurability="100" name="Lightsworn Faceguard" permanentEnchantIcon="ability_warrior_swordandboard" permanentEnchantItemId="44878" permanentenchant="3818" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="0" slot="0"/>
<item displayInfoId="64199" durability="0" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_jewelry_necklace_52" id="50763" level="251" maxDurability="0" name="Marrowgar's Scratching Choker" permanentenchant="0" pickUp="PickUpRing" putDown="PutDownRing" randomPropertiesId="0" rarity="4" seed="538689536" slot="1"/>
<item displayInfoId="64622" durability="100" gem0Id="40119" gem1Id="40119" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" gemIcon1="inv_jewelcrafting_gem_42" icon="inv_shoulder_129" id="50003" level="264" maxDurability="100" name="Boneguard Commander's Pauldrons" permanentEnchantIcon="spell_holy_divinepurpose" permanentEnchantItemId="44136" permanentenchant="3811" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="1056180224" slot="2"/>
<item displayInfoId="64569" durability="165" gem0Id="36767" gem1Id="40119" gem2Id="40119" gemIcon0="inv_jewelcrafting_dragonseye04" gemIcon1="inv_jewelcrafting_gem_42" gemIcon2="inv_jewelcrafting_gem_42" icon="inv_chest_plate_25" id="50024" level="264" maxDurability="165" name="Blightborne Warplate" permanentEnchantIcon="inv_scroll_03" permanentEnchantItemId="39005" permanentenchant="3297" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="973226912" slot="4"/>
<item displayInfoId="64784" durability="55" gem0Id="40119" gem1Id="40119" gem2Id="36767" gemIcon0="inv_jewelcrafting_gem_42" gemIcon1="inv_jewelcrafting_gem_42" gemIcon2="inv_jewelcrafting_dragonseye04" icon="inv_belt_62" id="50036" level="264" maxDurability="55" name="Belt of Broken Bones" permanentenchant="0" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="1514889088" slot="5"/>
<item displayInfoId="64848" durability="120" gem0Id="49110" gem1Id="40119" gem2Id="40119" gemIcon0="inv_misc_gem_pearl_12" gemIcon1="inv_jewelcrafting_gem_42" gemIcon2="inv_jewelcrafting_gem_42" icon="inv_pants_plate_32" id="49904" level="264" maxDurability="120" name="Pillars of Might" permanentEnchantIcon="inv_misc_armorkit_32" permanentEnchantItemId="38373" permanentenchant="3822" pickUp="PickUpMetalLArge" putDown="PutDownLArgeMEtal" randomPropertiesId="0" rarity="4" seed="1384778752" slot="6"/>
<item displayInfoId="61372" durability="75" gem0Id="36767" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_dragonseye04" icon="inv_boots_plate_06" id="46997" level="245" maxDurability="75" name="Dawnbreaker Greaves" permanentEnchantIcon="inv_scroll_03" permanentEnchantItemId="38966" permanentenchant="1075" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="916620928" slot="7"/>
<item displayInfoId="61897" durability="55" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_bracer_32a" id="47570" level="245" maxDurability="55" name="Saronite Swordbreakers" permanentEnchantIcon="inv_scroll_03" permanentEnchantItemId="44947" permanentenchant="3850" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="1490330752" slot="8"/>
<item displayInfoId="64668" durability="55" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_gauntlets_85" id="51172" level="264" maxDurability="55" name="Sanctified Lightsworn Handguards" permanentEnchantIcon="inv_misc_armorkit_30" permanentEnchantItemId="38376" permanentenchant="3330" pickUp="PickUpLargeChain" putDown="PutDownLArgeChain" randomPropertiesId="0" rarity="4" seed="721673120" slot="9"/>
<item displayInfoId="63959" durability="0" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_jewelry_ring_84" id="50404" level="277" maxDurability="0" name="Ashen Band of Endless Courage" permanentenchant="0" pickUp="PickUpMetalSmall" putDown="PutDownSmallMEtal" randomPropertiesId="0" rarity="4" seed="1048659648" slot="10"/>
<item displayInfoId="64173" durability="0" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_jewelry_ring_84" id="50447" level="264" maxDurability="0" name="Harbinger's Bone Band" permanentenchant="0" pickUp="PickUpRing" putDown="PutDownRing" randomPropertiesId="0" rarity="4" seed="1446308096" slot="11"/>
<item displayInfoId="64264" durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_misc_key_15" id="50356" level="264" maxDurability="0" name="Corroded Skeleton Key" permanentenchant="0" pickUp="PickUpWand" putDown="PutDownWand" randomPropertiesId="0" rarity="4" seed="0" slot="12"/>
<item displayInfoId="64239" durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_misc_coin_18" id="50352" level="264" maxDurability="0" name="Corpse Tongue Coin" permanentenchant="0" pickUp="PickUpWand" putDown="PutDownWand" randomPropertiesId="0" rarity="4" seed="1924196992" slot="13"/>
<item displayInfoId="64328" durability="0" gem0Id="40119" gem1Id="0" gem2Id="0" gemIcon0="inv_jewelcrafting_gem_42" icon="inv_misc_cape_13" id="50466" level="264" maxDurability="0" name="Sentinel's Winter Cloak" permanentEnchantIcon="inv_scroll_03" permanentEnchantItemId="44457" permanentenchant="1099" pickUp="PickUpCloth_Leather01" putDown="PutDownCloth_Leather01" randomPropertiesId="0" rarity="4" seed="0" slot="14"/>
<item displayInfoId="64537" durability="105" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_sword_154" id="51010" level="251" maxDurability="105" name="The Facelifter" permanentEnchantIcon="inv_scroll_03" permanentEnchantItemId="46098" permanentenchant="3870" pickUp="PickUpMetalSmall" putDown="PutDownSmallMEtal" randomPropertiesId="0" rarity="4" seed="419699200" slot="15"/>
<item displayInfoId="64409" durability="120" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shield_73" id="50794" level="251" maxDurability="120" name="Neverending Winter" permanentEnchantIcon="inv_shield_20" permanentEnchantItemId="35449" permanentenchant="1071" pickUp="PickUpMetalLArge" putDown="PutDownLArgeMEtal" randomPropertiesId="0" rarity="4" seed="993999648" slot="16"/>
<item displayInfoId="64626" durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_offhand_ulduarraid_d_02" id="50461" level="264" maxDurability="0" name="Libram of the Eternal Tower" permanentenchant="0" pickUp="PickUpBook" putDown="PutDownBook" randomPropertiesId="0" rarity="4" seed="0" slot="17"/>
<item displayInfoId="20621" durability="0" gem0Id="0" gem1Id="0" gem2Id="0" icon="inv_shirt_guildtabard_01" id="5976" level="1" maxDurability="0" name="Guild Tabard" permanentenchant="0" pickUp="PickUpCloth_Leather01" putDown="PutDownCloth_Leather01" randomPropertiesId="0" rarity="1" seed="0" slot="18"/>
</items>
<glyphs>
<glyph effect="Your Hammer of the Righteous hits 1 additional target." icon="ui-glyph-rune-8" id="702" name="Glyph of Hammer of the Righteous" type="major"/>
<glyph effect="Damage against Undead increased by 1% while your Sense Undead ability is active." icon="ui-glyph-rune-9" id="456" name="Glyph of Sense Undead" type="minor"/>
<glyph effect="Reduces the cooldown of your Lay on Hands spell by 5 min." icon="ui-glyph-rune-11" id="455" name="Glyph of Lay on Hands" type="minor"/>
<glyph effect="While Divine Plea is active, you take 3% reduced damage from all sources." icon="ui-glyph-rune-1" id="705" name="Glyph of Divine Plea" type="major"/>
<glyph effect="Reduces the mana cost of your Seal of Wisdom spell by 50%." icon="ui-glyph-rune-1" id="457" name="Glyph of the Wise" type="minor"/>
<glyph effect="Your Seal of Vengeance or Seal of Corruption also grants 10 expertise while active." icon="ui-glyph-rune-15" id="561" name="Glyph of Seal of Vengeance" type="major"/>
</glyphs>
</characterTab>
<summary>
<c earned="492" points="5210" total="1058" totalPoints="11675"/>
<category id="92" name="General">
<c earned="39" earnedPoints="420" total="54" totalPoints="570"/>
</category>
<category id="96" name="Quests">
<c earned="38" earnedPoints="380" total="49" totalPoints="530"/>
</category>
<category id="97" name="Exploration">
<c earned="67" earnedPoints="770" total="70" totalPoints="830"/>
</category>
<category id="95" name="Player vs. Player">
<c earned="39" earnedPoints="390" total="166" totalPoints="1930"/>
</category>
<category id="168" name="Dungeons & Raids">
<c earned="185" earnedPoints="1930" total="458" totalPoints="4955"/>
</category>
<category id="169" name="Professions">
<c earned="45" earnedPoints="450" total="75" totalPoints="760"/>
</category>
<category id="201" name="Reputation">
<c earned="22" earnedPoints="280" total="45" totalPoints="560"/>
</category>
<category id="155" name="World Events">
<c earned="57" earnedPoints="590" total="141" totalPoints="1540"/>
</category>
<category id="81" name="Feats of Strength">
<c earned="17"/>
</category>
</summary>
最佳答案
XHTML文件是XML文件。您根本不需要转换它们。您可以使用任何标准XML解析器来读取XHTML文件。
如果您的Delphi版本足够新,那么您应该已经具有TXmlDocument
组件。
关于xml - 如何从XHTML文件访问数据并在Delphi程序中使用它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3539723/
今天我在一个 Java 应用程序中看到了几种不同的加载文件的方法。 文件:/ 文件:// 文件:/// 这三个 URL 开头有什么区别?使用它们的首选方式是什么? 非常感谢 斯特凡 最佳答案 file
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
我有一个 javascript 文件,并且在该方法中有一个“测试”方法,我喜欢调用 C# 函数。 c# 函数与 javascript 文件不在同一文件中。 它位于 .cs 文件中。那么我该如何管理 j
需要检查我使用的文件/目录的权限 //filePath = path of file/directory access denied by user ( in windows ) File fil
我在一个目录中有很多 java 文件,我想在我的 Intellij 项目中使用它。但是我不想每次开始一个新项目时都将 java 文件复制到我的项目中。 我知道我可以在 Visual Studio 和
已关闭。此问题不符合Stack Overflow guidelines 。目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a software
我有 3 个组件的 Twig 文件: 文件 1: {# content-here #} 文件 2: {{ title-here }} {# content-here #}
我得到了 mod_ldap.c 和 mod_authnz_ldap.c 文件。我需要使用 Linux 命令的 mod_ldap.so 和 mod_authnz_ldap.so 文件。 最佳答案 从 c
我想使用PIE在我的项目中使用 IE7。 但是我不明白的是,我只能在网络服务器上使用 .htc 文件吗? 我可以在没有网络服务器的情况下通过浏览器加载的本地页面中使用它吗? 我在 PIE 的文档中看到
我在 CI 管道中考虑这一点,我应该首先构建和测试我的应用程序,结果应该是一个 docker 镜像。 我想知道使用构建环境在构建服务器上构建然后运行测试是否更常见。也许为此使用构建脚本。最后只需将 j
using namespace std; struct WebSites { string siteName; int rank; string getSiteName() {
我是 Linux 新手,目前正在尝试使用 ginkgo USB-CAN 接口(interface) 的 API 编程功能。为了使用 C++ 对 API 进行编程,他们提供了库文件,其中包含三个带有 .
我刚学C语言,在实现一个程序时遇到了问题将 test.txt 文件作为程序的输入。 test.txt 文件的内容是: 1 30 30 40 50 60 2 40 30 50 60 60 3 30 20
如何连接两个tcpdump文件,使一个流量在文件中出现一个接一个?具体来说,我想“乘以”一个 tcpdump 文件,这样所有的 session 将一个接一个地按顺序重复几次。 最佳答案 mergeca
我有一个名为 input.MP4 的文件,它已损坏。它来自闭路电视摄像机。我什么都试过了,ffmpeg , VLC 转换,没有运气。但是,我使用了 mediainfo和 exiftool并提取以下信息
我想做什么? 我想提取 ISO 文件并编辑其中的文件,然后将其重新打包回 ISO 文件。 (正如你已经读过的) 我为什么要这样做? 我想开始修改 PSP ISO,为此我必须使用游戏资源、 Assets
给定一个 gzip 文件 Z,如果我将其解压缩为 Z',有什么办法可以重新压缩它以恢复完全相同的 gzip 文件 Z?在粗略阅读了 DEFLATE 格式后,我猜不会,因为任何给定的文件都可能在 DEF
我必须从数据库向我的邮件 ID 发送一封带有附件的邮件。 EXEC msdb.dbo.sp_send_dbmail @profile_name = 'Adventure Works Admin
我有一个大的 M4B 文件和一个 CUE 文件。我想将其拆分为多个 M4B 文件,或将其拆分为多个 MP3 文件(以前首选)。 我想在命令行中执行此操作(OS X,但如果需要可以使用 Linux),而
快速提问。我有一个没有实现文件的类的项目。 然后在 AppDelegate 我有: #import "AppDelegate.h" #import "SomeClass.h" @interface A
我是一名优秀的程序员,十分优秀!